Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.001551/0.001551, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.001526/0.001526, allocations: 216.3 kB / 23.04 MB, free: 4.844 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.417/1.417, allocations: 230.6 MB / 256.8 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.098/3.098, allocations: 0.49 GB / 0.7959 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.001986/0.001986, allocations: 77.62 kB / 1.155 GB, free: 25.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3636, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02223/0.3858, allocations: 15.48 MB / 1.342 GB, free: 1.465 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01008/0.3959, allocations: 4.778 MB / 1.347 GB, free: 12.67 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001851/0.3977, allocations: 83.38 kB / 1.347 GB, free: 12.59 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003376/0.4011, allocations: 1.052 MB / 1.348 GB, free: 11.54 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002716/0.4038, allocations: 0.7776 MB / 1.349 GB, free: 10.75 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002813/0.4066, allocations: 0.9241 MB / 1.35 GB, free: 9.832 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.005719/0.4124, allocations: 3.622 MB / 1.353 GB, free: 6.199 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00431/0.4167, allocations: 2.427 MB / 1.356 GB, free: 3.699 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00333/0.42, allocations: 1.644 MB / 1.357 GB, free: 2.051 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002687/0.4227, allocations: 1.776 MB / 1.359 GB, free: 276 kB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004926/0.4232, allocations: 340 kB / 1.359 GB, free: 15.93 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001495/0.4247, allocations: 0.7528 MB / 1.36 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001355/0.426, allocations: 1.356 MB / 1.361 GB, free: 13.82 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00133/0.4274, allocations: 1.179 MB / 1.362 GB, free: 12.64 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005244/0.4326, allocations: 5.167 MB / 1.368 GB, free: 7.457 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.4326, allocations: 8 kB / 1.368 GB, free: 7.449 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4326, allocations: 0 / 1.368 GB, free: 7.449 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.637e-05/0.4327, allocations: 0 / 1.368 GB, free: 7.449 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.005299/0.438, allocations: 2.642 MB / 1.37 GB, free: 4.762 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.4381, allocations: 12.03 kB / 1.37 GB, free: 4.75 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003829/0.4419, allocations: 0.8459 MB / 1.371 GB, free: 3.902 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003517/0.4454, allocations: 1.543 MB / 1.372 GB, free: 2.324 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/0.4456, allocations: 177.1 kB / 1.373 GB, free: 2.148 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004345/0.446, allocations: 228.4 kB / 1.373 GB, free: 1.926 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007177/0.4532, allocations: 4.27 MB / 1.377 GB, free: 13.49 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.236e-05/0.4532, allocations: 7.938 kB / 1.377 GB, free: 13.48 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002521/0.4535, allocations: 95.98 kB / 1.377 GB, free: 13.39 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002151/0.4537, allocations: 168.5 kB / 1.377 GB, free: 13.22 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005962/0.4596, allocations: 3.628 MB / 1.381 GB, free: 9.578 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0164/0.476, allocations: 10.45 MB / 1.391 GB, free: 14.8 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003116/0.4792, allocations: 1.473 MB / 1.392 GB, free: 13.3 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000874/0.48, allocations: 0.5592 MB / 1.393 GB, free: 12.74 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001123/0.4801, allocations: 16.64 kB / 1.393 GB, free: 12.72 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.249e-05/0.4802, allocations: 47.22 kB / 1.393 GB, free: 12.66 MB / 1.092 GB Notification: Performance of pre-optimization done (n=72): time 3.066e-06/0.4802, allocations: 0 / 1.393 GB, free: 12.66 MB / 1.092 GB Notification: Performance of matching and sorting (n=76): time 0.00576/0.486, allocations: 3.201 MB / 1.396 GB, free: 9.445 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.438e-05/0.486, allocations: 115.5 kB / 1.396 GB, free: 9.309 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/0.4874, allocations: 1.04 MB / 1.397 GB, free: 8.242 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.017e-05/0.4874, allocations: 37.7 kB / 1.397 GB, free: 8.199 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007921/0.4882, allocations: 1.146 MB / 1.398 GB, free: 7.039 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002413/0.4885, allocations: 289.6 kB / 1.399 GB, free: 6.754 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004059/0.4889, allocations: 279.4 kB / 1.399 GB, free: 6.473 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002259/0.4891, allocations: 410.7 kB / 1.399 GB, free: 6.062 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009198/0.49, allocations: 0.6129 MB / 1.4 GB, free: 5.449 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001394/0.4914, allocations: 1.185 MB / 1.401 GB, free: 4.004 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002363/0.4938, allocations: 1.864 MB / 1.403 GB, free: 1.871 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.046e-06/0.4938, allocations: 4 kB / 1.403 GB, free: 1.867 MB / 1.092 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.0032/0.497, allocations: 2.019 MB / 1.405 GB, free: 15.83 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.497, allocations: 21.97 kB / 1.405 GB, free: 15.81 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.448e-05/0.497, allocations: 16 kB / 1.405 GB, free: 15.79 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004387/0.4975, allocations: 167.3 kB / 1.405 GB, free: 15.62 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.4986, allocations: 343.4 kB / 1.405 GB, free: 15.28 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-05/0.4987, allocations: 39.84 kB / 1.406 GB, free: 15.24 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009156/0.4996, allocations: 135.8 kB / 1.406 GB, free: 15.11 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.4997, allocations: 67.98 kB / 1.406 GB, free: 15.04 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {(2,100.0%), (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.001379/0.5011, allocations: 0.9758 MB / 1.407 GB, free: 14.06 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002154/0.5013, allocations: 115.3 kB / 1.407 GB, free: 13.95 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002086/0.5034, allocations: 1.228 MB / 1.408 GB, free: 12.69 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.5034, allocations: 12 kB / 1.408 GB, free: 12.68 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.5034, allocations: 3.938 kB / 1.408 GB, free: 12.68 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.5034, allocations: 3.984 kB / 1.408 GB, free: 12.67 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00505/0.5084, allocations: 2.877 MB / 1.411 GB, free: 9.719 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.5084, allocations: 8 kB / 1.411 GB, free: 9.711 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006077/0.5091, allocations: 156 kB / 1.411 GB, free: 9.559 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003482/0.5094, allocations: 143.3 kB / 1.411 GB, free: 9.406 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.997e-05/0.5095, allocations: 16 kB / 1.411 GB, free: 9.391 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.281e-05/0.5095, allocations: 15.88 kB / 1.411 GB, free: 9.375 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.5095, allocations: 4 kB / 1.411 GB, free: 9.371 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001997/0.5115, allocations: 1.47 MB / 1.413 GB, free: 7.844 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005197/0.512, allocations: 203.3 kB / 1.413 GB, free: 7.645 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.5121, allocations: 27.89 kB / 1.413 GB, free: 7.617 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005738/0.5127, allocations: 63.91 kB / 1.413 GB, free: 7.555 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.5128, allocations: 64.48 kB / 1.413 GB, free: 7.492 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-05/0.5129, allocations: 20 kB / 1.413 GB, free: 7.473 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0008915/0.5138, allocations: 0.6832 MB / 1.414 GB, free: 6.777 MB / 1.107 GB Notification: Performance of sort global known variables: time 1e-07/0.5138, allocations: 0 / 1.414 GB, free: 6.777 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001352/0.5151, allocations: 391.9 kB / 1.414 GB, free: 6.395 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {(2,100.0%), (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.0002005/0.5153, allocations: 132.9 kB / 1.414 GB, free: 6.258 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002179/0.5175, allocations: 1.356 MB / 1.415 GB, free: 4.891 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5175, allocations: 0.5 kB / 1.415 GB, free: 4.891 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0008454/0.5183, allocations: 0.5339 MB / 1.416 GB, free: 4.348 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.5197, allocations: 262.2 kB / 1.416 GB, free: 4.094 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006445/0.5261, allocations: 4.196 MB / 1.42 GB, free: 15.82 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001678/0.5278, allocations: 1.387 MB / 1.422 GB, free: 14.39 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003292/0.5281, allocations: 91.42 kB / 1.422 GB, free: 14.3 MB / 1.123 GB Notification: Performance of SimCode: time 8.11e-07/0.5281, allocations: 0 / 1.422 GB, free: 14.3 MB / 1.123 GB Notification: Performance of Templates: time 0.08049/0.6086, allocations: 74.28 MB / 1.494 GB, free: 4 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.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: 14.790637371130288]