Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.001613/0.001613, allocations: 78.02 kB / 19.76 MB, free: 2.035 MB / 14.72 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.00176/0.00176, allocations: 156.8 kB / 23.01 MB, free: 4.945 MB / 14.72 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.44/1.44, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.862/2.862, allocations: 394.2 MB / 0.6386 GB, free: 11.91 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 79.88 kB / 1.009 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8447/0.847, allocations: 181.8 MB / 1.187 GB, free: 16.22 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.005495/0.8525, allocations: 4.662 MB / 1.191 GB, free: 13.2 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00356/0.856, allocations: 2.44 MB / 1.194 GB, free: 11.62 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002918/0.8563, allocations: 37.31 kB / 1.194 GB, free: 11.59 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.8574, allocations: 405.9 kB / 1.194 GB, free: 11.36 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0009101/0.8583, allocations: 469 kB / 1.194 GB, free: 11.09 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008627/0.8592, allocations: 398.8 kB / 1.195 GB, free: 10.9 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0009908/0.8601, allocations: 0.9263 MB / 1.196 GB, free: 10.46 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004833/0.8606, allocations: 317.9 kB / 1.196 GB, free: 10.32 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004834/0.8611, allocations: 358.7 kB / 1.196 GB, free: 10.17 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000458/0.8616, allocations: 356.2 kB / 1.197 GB, free: 10.02 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.477e-05/0.8616, allocations: 38.44 kB / 1.197 GB, free: 10.02 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006541/0.8623, allocations: 358.4 kB / 1.197 GB, free: 9.91 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001882/0.8625, allocations: 192.8 kB / 1.197 GB, free: 9.82 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002461/0.8627, allocations: 262.3 kB / 1.197 GB, free: 9.688 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.8637, allocations: 0.9041 MB / 1.198 GB, free: 9.363 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.8637, allocations: 0.6094 kB / 1.198 GB, free: 9.363 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.392e-06/0.8637, allocations: 0 / 1.198 GB, free: 9.363 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.688e-05/0.8638, allocations: 0.7812 kB / 1.198 GB, free: 9.363 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001281/0.865, allocations: 0.8887 MB / 1.199 GB, free: 8.73 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.8651, allocations: 8.688 kB / 1.199 GB, free: 8.73 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/0.8664, allocations: 215.9 kB / 1.199 GB, free: 8.68 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007754/0.8671, allocations: 494.2 kB / 1.2 GB, free: 8.383 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.8672, allocations: 39.98 kB / 1.2 GB, free: 8.359 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.506e-05/0.8672, allocations: 45.2 kB / 1.2 GB, free: 8.344 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009951/0.8682, allocations: 0.9735 MB / 1.201 GB, free: 7.605 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.632e-05/0.8683, allocations: 8.719 kB / 1.201 GB, free: 7.602 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.785e-05/0.8683, allocations: 19.91 kB / 1.201 GB, free: 7.59 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.995e-05/0.8684, allocations: 65.95 kB / 1.201 GB, free: 7.582 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008002/0.8692, allocations: 0.5694 MB / 1.202 GB, free: 7.367 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002914/0.8721, allocations: 4.636 MB / 1.206 GB, free: 3.352 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006504/0.8728, allocations: 427.8 kB / 1.207 GB, free: 3.191 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002809/0.873, allocations: 206.4 kB / 1.207 GB, free: 3.117 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.8731, allocations: 2.812 kB / 1.207 GB, free: 3.117 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.533e-05/0.8731, allocations: 37.8 kB / 1.207 GB, free: 3.074 MB / 1.076 GB Notification: Performance of pre-optimization done (n=32): time 2.184e-06/0.8731, allocations: 0 / 1.207 GB, free: 3.074 MB / 1.076 GB Notification: Performance of matching and sorting (n=33): time 0.002236/0.8753, allocations: 1.137 MB / 1.208 GB, free: 2.598 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.156e-05/0.8753, allocations: 59.81 kB / 1.208 GB, free: 2.531 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000422/0.8758, allocations: 480 kB / 1.208 GB, free: 2.301 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.8758, allocations: 31.11 kB / 1.208 GB, free: 2.266 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.8759, allocations: 374.1 kB / 1.209 GB, free: 1.961 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.038e-05/0.876, allocations: 121.5 kB / 1.209 GB, free: 1.867 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.8761, allocations: 112.4 kB / 1.209 GB, free: 1.805 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.596e-05/0.8762, allocations: 367.5 kB / 1.209 GB, free: 1.465 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002651/0.8765, allocations: 192.4 kB / 1.21 GB, free: 1.402 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003544/0.8768, allocations: 446.5 kB / 1.21 GB, free: 1.02 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006558/0.8775, allocations: 0.6876 MB / 1.211 GB, free: 0.5 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.8775, allocations: 2.844 kB / 1.211 GB, free: 0.5 MB / 1.076 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001163/0.8786, allocations: 0.8105 MB / 1.211 GB, free: 140 kB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.8787, allocations: 11.88 kB / 1.211 GB, free: 140 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.8787, allocations: 12.8 kB / 1.211 GB, free: 136 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004501/0.8791, allocations: 153.2 kB / 1.212 GB, free: 68 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004357/0.8796, allocations: 122.3 kB / 1.212 GB, free: 56 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003557/0.8831, allocations: 3.963 MB / 1.216 GB, free: 12.27 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004231/0.8835, allocations: 37.14 kB / 1.216 GB, free: 12.26 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.235e-05/0.8836, allocations: 27.72 kB / 1.216 GB, free: 12.26 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002947/0.8839, allocations: 212.3 kB / 1.216 GB, free: 12.09 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.258e-05/0.884, allocations: 64.55 kB / 1.216 GB, free: 12.05 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/0.885, allocations: 0.5888 MB / 1.216 GB, free: 11.79 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.885, allocations: 7.812 kB / 1.217 GB, free: 11.78 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.885, allocations: 1.406 kB / 1.217 GB, free: 11.78 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.8851, allocations: 3.156 kB / 1.217 GB, free: 11.78 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001822/0.8869, allocations: 1.128 MB / 1.218 GB, free: 11.15 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.8869, allocations: 1.281 kB / 1.218 GB, free: 11.15 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/0.8871, allocations: 50.83 kB / 1.218 GB, free: 11.15 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004055/0.8875, allocations: 152.5 kB / 1.218 GB, free: 11.08 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/0.8876, allocations: 7.812 kB / 1.218 GB, free: 11.07 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003463/0.891, allocations: 3.961 MB / 1.222 GB, free: 7.285 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.891, allocations: 6.125 kB / 1.222 GB, free: 7.281 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.8921, allocations: 0.7008 MB / 1.222 GB, free: 6.871 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002423/0.8924, allocations: 94 kB / 1.222 GB, free: 6.82 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.023e-05/0.8924, allocations: 9.75 kB / 1.222 GB, free: 6.816 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002706/0.8927, allocations: 26.42 kB / 1.222 GB, free: 6.809 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.117e-05/0.8928, allocations: 33.02 kB / 1.223 GB, free: 6.801 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.8928, allocations: 11.91 kB / 1.223 GB, free: 6.797 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003705/0.8932, allocations: 311 kB / 1.223 GB, free: 6.652 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8932, allocations: 3.938 kB / 1.223 GB, free: 6.648 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0006974/0.8939, allocations: 138 kB / 1.223 GB, free: 6.637 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001466/0.894, allocations: 113.7 kB / 1.223 GB, free: 6.535 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001433/0.8955, allocations: 0.8594 MB / 1.224 GB, free: 6.016 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.8955, allocations: 0 / 1.224 GB, free: 6.016 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0008453/0.8963, allocations: 0.5705 MB / 1.224 GB, free: 5.598 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000968/0.8973, allocations: 190.1 kB / 1.225 GB, free: 5.531 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.899, allocations: 1.078 MB / 1.226 GB, free: 4.906 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.8993, allocations: 312.7 kB / 1.226 GB, free: 4.793 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002968/0.8996, allocations: 110.6 kB / 1.226 GB, free: 4.773 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.814e-05/0.8997, allocations: 39.14 kB / 1.226 GB, free: 4.766 MB / 1.092 GB Notification: Performance of SimCode: time 3.81e-07/0.8997, allocations: 0 / 1.226 GB, free: 4.766 MB / 1.092 GB Notification: Performance of Templates: time 0.01714/0.9168, allocations: 7.819 MB / 1.234 GB, free: 3.867 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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: 9.000198625959456]