Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002109/0.002109, allocations: 165.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.546/1.546, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.815/2.815, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z_L.i.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z_L.i.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.863e-05/3.045e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006543/0.006573, allocations: 3.755 MB / 0.79 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00369/0.01026, allocations: 1.831 MB / 0.7918 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000234/0.0105, allocations: 27.75 kB / 0.7918 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0009862/0.01148, allocations: 272.2 kB / 0.7921 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0008229/0.01231, allocations: 321.5 kB / 0.7924 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007072/0.01301, allocations: 248.5 kB / 0.7927 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000863/0.01388, allocations: 0.625 MB / 0.7933 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004767/0.01435, allocations: 226.6 kB / 0.7935 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005923/0.01495, allocations: 336.8 kB / 0.7938 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004099/0.01536, allocations: 211.9 kB / 0.794 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.264e-05/0.01542, allocations: 29.38 kB / 0.794 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000585/0.016, allocations: 255.2 kB / 0.7943 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000174/0.01618, allocations: 119.7 kB / 0.7944 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002067/0.01638, allocations: 147.6 kB / 0.7945 GB, free: 4.434 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.0176, allocations: 0.6085 MB / 0.7951 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.01761, allocations: 0 / 0.7951 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.605e-06/0.01761, allocations: 0 / 0.7951 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.01762, allocations: 0.5938 kB / 0.7951 GB, free: 3.824 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001401/0.01902, allocations: 0.7744 MB / 0.7959 GB, free: 3.016 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.01907, allocations: 16.02 kB / 0.7959 GB, free: 3 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.02009, allocations: 186.5 kB / 0.7961 GB, free: 2.82 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007149/0.02081, allocations: 371.7 kB / 0.7964 GB, free: 2.434 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.302e-05/0.02084, allocations: 25.02 kB / 0.7965 GB, free: 2.41 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.844e-05/0.02091, allocations: 32.33 kB / 0.7965 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009225/0.02183, allocations: 0.5637 MB / 0.797 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/0.02186, allocations: 8.5 kB / 0.797 GB, free: 1.695 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.683e-05/0.02191, allocations: 20.89 kB / 0.7971 GB, free: 1.676 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.944e-05/0.02199, allocations: 40.62 kB / 0.7971 GB, free: 1.633 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005375/0.02252, allocations: 239.3 kB / 0.7973 GB, free: 1.402 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003868/0.02639, allocations: 3.625 MB / 0.8009 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006323/0.02702, allocations: 212.5 kB / 0.8011 GB, free: 13.42 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002149/0.02724, allocations: 91.66 kB / 0.8012 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.02727, allocations: 4.844 kB / 0.8012 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.513e-05/0.02731, allocations: 41.33 kB / 0.8012 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=26): time 2.224e-06/0.02732, allocations: 0 / 0.8012 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of matching and sorting (n=27): time 0.002055/0.02937, allocations: 0.5639 MB / 0.8018 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.02943, allocations: 59.58 kB / 0.8018 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006324/0.03006, allocations: 438.5 kB / 0.8022 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.498e-05/0.03009, allocations: 33.7 kB / 0.8023 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002567/0.03035, allocations: 306.8 kB / 0.8026 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.03045, allocations: 99.17 kB / 0.8026 GB, free: 11.74 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/0.03062, allocations: 92.67 kB / 0.8027 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003179/0.03093, allocations: 0.5274 MB / 0.8032 GB, free: 11.1 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.03114, allocations: 86.08 kB / 0.8033 GB, free: 11.02 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004265/0.03157, allocations: 294.5 kB / 0.8036 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006444/0.03221, allocations: 412.7 kB / 0.804 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.03222, allocations: 4 kB / 0.804 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009333/0.03315, allocations: 465.8 kB / 0.8045 GB, free: 9.684 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.03318, allocations: 8 kB / 0.8045 GB, free: 9.676 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.03319, allocations: 4 kB / 0.8045 GB, free: 9.672 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003463/0.03354, allocations: 83.55 kB / 0.8045 GB, free: 9.578 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003423/0.03388, allocations: 83.88 kB / 0.8046 GB, free: 9.496 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.832e-05/0.0339, allocations: 11.94 kB / 0.8046 GB, free: 9.484 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/0.03414, allocations: 27.97 kB / 0.8047 GB, free: 9.457 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.264e-05/0.03418, allocations: 16 kB / 0.8047 GB, free: 9.441 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002533/0.03443, allocations: 196.4 kB / 0.8049 GB, free: 9.238 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.325e-05/0.03452, allocations: 51.77 kB / 0.8049 GB, free: 9.188 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007776/0.0353, allocations: 312.6 kB / 0.8052 GB, free: 8.863 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.03531, allocations: 8 kB / 0.8052 GB, free: 8.855 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.03532, allocations: 7.922 kB / 0.8052 GB, free: 8.848 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.03532, allocations: 0 / 0.8052 GB, free: 8.848 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/0.03678, allocations: 0.7586 MB / 0.806 GB, free: 8.023 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.03678, allocations: 0 / 0.806 GB, free: 8.023 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/0.03702, allocations: 47.95 kB / 0.806 GB, free: 7.977 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002446/0.03726, allocations: 74.95 kB / 0.8061 GB, free: 7.891 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.03729, allocations: 8.094 kB / 0.8061 GB, free: 7.883 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.03729, allocations: 0 / 0.8061 GB, free: 7.883 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.03729, allocations: 3.938 kB / 0.8061 GB, free: 7.879 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008342/0.03813, allocations: 489.5 kB / 0.8066 GB, free: 7.355 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/0.03829, allocations: 59.73 kB / 0.8066 GB, free: 7.297 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.221e-05/0.03835, allocations: 4 kB / 0.8066 GB, free: 7.293 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.03855, allocations: 15.98 kB / 0.8066 GB, free: 7.277 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.413e-05/0.03865, allocations: 35.77 kB / 0.8067 GB, free: 7.242 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.03867, allocations: 8 kB / 0.8067 GB, free: 7.234 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003096/0.03898, allocations: 279.1 kB / 0.8069 GB, free: 6.961 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9e-08/0.03898, allocations: 4 kB / 0.807 GB, free: 6.957 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004461/0.03942, allocations: 88 kB / 0.807 GB, free: 6.871 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001647/0.03959, allocations: 107.2 kB / 0.8071 GB, free: 6.758 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0007569/0.04034, allocations: 298.6 kB / 0.8074 GB, free: 6.453 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.04035, allocations: 0 / 0.8074 GB, free: 6.453 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003238/0.04067, allocations: 162.2 kB / 0.8076 GB, free: 6.281 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007529/0.04142, allocations: 132.3 kB / 0.8077 GB, free: 6.16 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.04303, allocations: 0.6706 MB / 0.8084 GB, free: 5.445 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.04329, allocations: 220.1 kB / 0.8086 GB, free: 5.211 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002206/0.04351, allocations: 67.3 kB / 0.8086 GB, free: 5.145 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.51e-05/0.04361, allocations: 28.5 kB / 0.8087 GB, free: 5.113 MB / 0.7605 GB Notification: Performance of SimCode: time 6.41e-07/0.04361, allocations: 0 / 0.8087 GB, free: 5.113 MB / 0.7605 GB Notification: Performance of Templates: time 0.01129/0.0549, allocations: 4.818 MB / 0.8134 GB, free: 456 kB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.234623725060374]