Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.002173/0.002173, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.00268/0.00268, allocations: 211.7 kB / 23 MB, free: 4.934 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.596/1.596, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.188/3.188, allocations: 0.49 GB / 0.7959 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 176] 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.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") [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.001932/0.001932, allocations: 68.62 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3857, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02859/0.4143, allocations: 20.03 MB / 1.347 GB, free: 12.89 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01505/0.4294, allocations: 7.667 MB / 1.354 GB, free: 5.207 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002095/0.4315, allocations: 71.62 kB / 1.354 GB, free: 5.137 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00415/0.4356, allocations: 1.359 MB / 1.356 GB, free: 3.773 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003212/0.4388, allocations: 1.019 MB / 1.357 GB, free: 2.75 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.005417/0.4442, allocations: 2.009 MB / 1.358 GB, free: 0.7422 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0061/0.4503, allocations: 4.335 MB / 1.363 GB, free: 12.4 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005374/0.4557, allocations: 3.022 MB / 1.366 GB, free: 9.301 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003339/0.4591, allocations: 1.905 MB / 1.368 GB, free: 7.391 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003702/0.4628, allocations: 2.329 MB / 1.37 GB, free: 5.055 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000806/0.4636, allocations: 428 kB / 1.37 GB, free: 4.637 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001795/0.4654, allocations: 0.8855 MB / 1.371 GB, free: 3.75 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002003/0.4674, allocations: 1.695 MB / 1.373 GB, free: 2.051 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002125/0.4695, allocations: 1.389 MB / 1.374 GB, free: 0.6562 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.007738/0.4772, allocations: 6.231 MB / 1.38 GB, free: 10.41 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.4772, allocations: 0 / 1.38 GB, free: 10.41 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.884e-06/0.4772, allocations: 0 / 1.38 GB, free: 10.41 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001797/0.4774, allocations: 0 / 1.38 GB, free: 10.41 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: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.006958/0.4844, allocations: 3.046 MB / 1.383 GB, free: 7.312 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.4844, allocations: 8.031 kB / 1.383 GB, free: 7.305 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00384/0.4883, allocations: 0.7639 MB / 1.384 GB, free: 6.539 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004274/0.4925, allocations: 1.542 MB / 1.385 GB, free: 4.965 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002016/0.4927, allocations: 218.1 kB / 1.386 GB, free: 4.75 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007124/0.4934, allocations: 292.2 kB / 1.386 GB, free: 4.465 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00991/0.5034, allocations: 5.308 MB / 1.391 GB, free: 14.91 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-05/0.5034, allocations: 7.938 kB / 1.391 GB, free: 14.91 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003478/0.5038, allocations: 128 kB / 1.391 GB, free: 14.78 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002656/0.504, allocations: 204.6 kB / 1.391 GB, free: 14.58 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007871/0.5119, allocations: 4.217 MB / 1.396 GB, free: 10.34 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02409/0.536, allocations: 14.35 MB / 1.41 GB, free: 11.53 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003132/0.5391, allocations: 1.661 MB / 1.411 GB, free: 9.832 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001771/0.5409, allocations: 1.079 MB / 1.412 GB, free: 8.738 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001442/0.541, allocations: 28.58 kB / 1.412 GB, free: 8.711 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/0.5411, allocations: 39.22 kB / 1.412 GB, free: 8.664 MB / 1.107 GB Notification: Performance of pre-optimization done (n=84): time 3.607e-06/0.5411, allocations: 0 / 1.412 GB, free: 8.664 MB / 1.107 GB Notification: Performance of matching and sorting (n=87): time 0.006719/0.5478, allocations: 4.113 MB / 1.416 GB, free: 4.527 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.125e-05/0.5479, allocations: 141.2 kB / 1.416 GB, free: 4.359 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.5491, allocations: 0.8014 MB / 1.417 GB, free: 3.547 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 9.605e-05/0.5492, allocations: 49.64 kB / 1.417 GB, free: 3.492 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001097/0.5503, allocations: 1.201 MB / 1.418 GB, free: 2.277 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004337/0.5507, allocations: 329.3 kB / 1.419 GB, free: 1.953 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005352/0.5513, allocations: 274.7 kB / 1.419 GB, free: 1.68 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002813/0.5515, allocations: 398.7 kB / 1.419 GB, free: 1.281 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001445/0.553, allocations: 0.8257 MB / 1.42 GB, free: 464 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001973/0.555, allocations: 1.536 MB / 1.422 GB, free: 14.64 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003345/0.5583, allocations: 2.163 MB / 1.424 GB, free: 12.29 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.5583, allocations: 4 kB / 1.424 GB, free: 12.28 MB / 1.123 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003862/0.5622, allocations: 2.215 MB / 1.426 GB, free: 10.05 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.5622, allocations: 12 kB / 1.426 GB, free: 10.04 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/0.5622, allocations: 16 kB / 1.426 GB, free: 10.03 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.669e-05/0.5623, allocations: 20 kB / 1.426 GB, free: 10.01 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001768/0.564, allocations: 415.2 kB / 1.426 GB, free: 9.602 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.806e-05/0.5641, allocations: 36.23 kB / 1.426 GB, free: 9.566 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/0.5655, allocations: 207.4 kB / 1.427 GB, free: 9.363 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.5656, allocations: 63.98 kB / 1.427 GB, free: 9.301 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002733/0.5683, allocations: 1.677 MB / 1.428 GB, free: 7.621 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001858/0.5702, allocations: 1.419 MB / 1.43 GB, free: 5.91 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002813/0.573, allocations: 1.898 MB / 1.432 GB, free: 3.801 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.978e-06/0.573, allocations: 4 kB / 1.432 GB, free: 3.797 MB / 1.123 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003483/0.5765, allocations: 1.923 MB / 1.433 GB, free: 1.871 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.5765, allocations: 14.34 kB / 1.433 GB, free: 1.859 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/0.5765, allocations: 16.09 kB / 1.433 GB, free: 1.844 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.804e-05/0.5766, allocations: 28.19 kB / 1.434 GB, free: 1.816 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/0.5781, allocations: 363.3 kB / 1.434 GB, free: 1.461 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.165e-05/0.5781, allocations: 31.86 kB / 1.434 GB, free: 1.43 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/0.5794, allocations: 195.3 kB / 1.434 GB, free: 1.238 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.5795, allocations: 63.97 kB / 1.434 GB, free: 1.176 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004189/0.58, allocations: 268.3 kB / 1.434 GB, free: 0.9062 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000269/0.5802, allocations: 95.44 kB / 1.434 GB, free: 0.8125 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003166/0.5834, allocations: 1.842 MB / 1.436 GB, free: 14.95 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/0.5834, allocations: 7.984 kB / 1.436 GB, free: 14.95 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.5834, allocations: 0 / 1.436 GB, free: 14.95 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007649/0.5842, allocations: 279.1 kB / 1.437 GB, free: 14.67 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/0.5843, allocations: 20 kB / 1.437 GB, free: 14.65 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/0.5856, allocations: 235.6 kB / 1.437 GB, free: 14.42 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001751/0.5858, allocations: 64.42 kB / 1.437 GB, free: 14.36 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003524/0.5893, allocations: 2.142 MB / 1.439 GB, free: 12.21 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002961/0.5923, allocations: 2.131 MB / 1.441 GB, free: 10.06 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001163/0.5934, allocations: 0.7896 MB / 1.442 GB, free: 9.266 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0008954/0.5943, allocations: 0.5458 MB / 1.442 GB, free: 8.727 MB / 1.139 GB Notification: Performance of Backend: time 2.2e-07/0.5943, allocations: 0 / 1.442 GB, free: 8.727 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.005075/0.5994, allocations: 2.303 MB / 1.445 GB, free: 6.426 MB / 1.139 GB Notification: Performance of SimCode: time 0.008322/0.6077, allocations: 4.421 MB / 1.449 GB, free: 1.961 MB / 1.139 GB Notification: Performance of Templates: time 0.05437/0.6621, allocations: 33.4 MB / 1.482 GB, free: 0.9453 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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: 10.02366017299937]