Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00166/0.00166, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001878/0.001878, allocations: 217.2 kB / 22.99 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.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 3.341/3.341, allocations: 0.5107 GB / 0.8166 GB, free: 17.75 MB / 0.6231 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.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_latest_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_latest_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.002143/0.002143, allocations: 70.2 kB / 1.187 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3651, allocations: 181.9 MB / 1.365 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02902/0.3941, allocations: 20.01 MB / 1.384 GB, free: 9.461 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01429/0.4084, allocations: 7.671 MB / 1.392 GB, free: 1.77 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001793/0.4102, allocations: 71.62 kB / 1.392 GB, free: 1.699 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003949/0.4141, allocations: 1.363 MB / 1.393 GB, free: 340 kB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002997/0.4171, allocations: 1.015 MB / 1.394 GB, free: 15.31 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005156/0.4223, allocations: 2.005 MB / 1.396 GB, free: 13.31 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.00598/0.4283, allocations: 4.339 MB / 1.4 GB, free: 8.961 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006625/0.4349, allocations: 2.998 MB / 1.403 GB, free: 5.887 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003874/0.4388, allocations: 1.901 MB / 1.405 GB, free: 3.98 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004093/0.4429, allocations: 2.196 MB / 1.407 GB, free: 1.777 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.00114/0.444, allocations: 432 kB / 1.408 GB, free: 1.355 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002385/0.4464, allocations: 0.8894 MB / 1.408 GB, free: 476 kB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.00258/0.449, allocations: 1.696 MB / 1.41 GB, free: 14.76 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.002846/0.4518, allocations: 1.393 MB / 1.411 GB, free: 13.36 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.006933/0.4587, allocations: 6.227 MB / 1.418 GB, free: 7.117 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.4587, allocations: 0 / 1.418 GB, free: 7.117 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.304e-06/0.4587, allocations: 0 / 1.418 GB, free: 7.117 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001482/0.4589, allocations: 0 / 1.418 GB, free: 7.117 MB / 1.107 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.006542/0.4654, allocations: 3.034 MB / 1.421 GB, free: 4.035 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.4655, allocations: 12.02 kB / 1.421 GB, free: 4.023 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003576/0.4691, allocations: 0.7639 MB / 1.421 GB, free: 3.258 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003608/0.4727, allocations: 1.546 MB / 1.423 GB, free: 1.684 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001926/0.4729, allocations: 222.1 kB / 1.423 GB, free: 1.465 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005496/0.4734, allocations: 284.3 kB / 1.423 GB, free: 1.188 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009938/0.4833, allocations: 5.312 MB / 1.428 GB, free: 11.63 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.929e-05/0.4834, allocations: 7.922 kB / 1.428 GB, free: 11.62 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004618/0.4839, allocations: 128 kB / 1.429 GB, free: 11.5 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002755/0.4842, allocations: 208.6 kB / 1.429 GB, free: 11.29 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008205/0.4924, allocations: 4.216 MB / 1.433 GB, free: 7.062 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02353/0.5159, allocations: 14.36 MB / 1.447 GB, free: 8.238 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003092/0.519, allocations: 1.653 MB / 1.449 GB, free: 6.547 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001758/0.5208, allocations: 1.071 MB / 1.45 GB, free: 5.465 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001227/0.5209, allocations: 24.59 kB / 1.45 GB, free: 5.441 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.682e-05/0.5209, allocations: 47.14 kB / 1.45 GB, free: 5.387 MB / 1.139 GB Notification: Performance of pre-optimization done (n=84): time 3.337e-06/0.5209, allocations: 0 / 1.45 GB, free: 5.387 MB / 1.139 GB Notification: Performance of matching and sorting (n=87): time 0.007152/0.5281, allocations: 4.11 MB / 1.454 GB, free: 1.254 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.5282, allocations: 141.2 kB / 1.454 GB, free: 1.086 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.5294, allocations: 0.8014 MB / 1.455 GB, free: 284 kB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 9.649e-05/0.5295, allocations: 41.7 kB / 1.455 GB, free: 236 kB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009169/0.5304, allocations: 1.213 MB / 1.456 GB, free: 15 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003315/0.5308, allocations: 321.3 kB / 1.456 GB, free: 14.68 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000484/0.5312, allocations: 274.7 kB / 1.456 GB, free: 14.41 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002231/0.5315, allocations: 398.7 kB / 1.457 GB, free: 14.01 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001446/0.5329, allocations: 0.8218 MB / 1.458 GB, free: 13.19 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002023/0.5349, allocations: 1.54 MB / 1.459 GB, free: 11.37 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003249/0.5382, allocations: 2.167 MB / 1.461 GB, free: 9.016 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-05/0.5382, allocations: 11.94 kB / 1.461 GB, free: 9.004 MB / 1.154 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00391/0.5421, allocations: 2.207 MB / 1.463 GB, free: 6.785 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/0.5421, allocations: 13.88 kB / 1.463 GB, free: 6.773 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.584e-05/0.5422, allocations: 16 kB / 1.463 GB, free: 6.758 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 4e-05/0.5422, allocations: 23.94 kB / 1.463 GB, free: 6.734 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00169/0.5439, allocations: 415.7 kB / 1.464 GB, free: 6.328 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.297e-05/0.5439, allocations: 31.86 kB / 1.464 GB, free: 6.297 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.5453, allocations: 215.4 kB / 1.464 GB, free: 6.086 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/0.5455, allocations: 67.97 kB / 1.464 GB, free: 6.02 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002843/0.5483, allocations: 1.678 MB / 1.466 GB, free: 4.34 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001795/0.5501, allocations: 1.416 MB / 1.467 GB, free: 2.633 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002847/0.5529, allocations: 1.898 MB / 1.469 GB, free: 0.5234 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.336e-05/0.553, allocations: 4 kB / 1.469 GB, free: 0.5195 MB / 1.154 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003515/0.5565, allocations: 1.926 MB / 1.471 GB, free: 14.59 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.5565, allocations: 12.22 kB / 1.471 GB, free: 14.57 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.777e-05/0.5565, allocations: 20 kB / 1.471 GB, free: 14.55 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.562e-05/0.5565, allocations: 20.19 kB / 1.471 GB, free: 14.54 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/0.558, allocations: 363.4 kB / 1.471 GB, free: 14.18 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-05/0.558, allocations: 35.8 kB / 1.471 GB, free: 14.14 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.5594, allocations: 179.5 kB / 1.471 GB, free: 13.97 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/0.5595, allocations: 63.98 kB / 1.472 GB, free: 13.91 MB / 1.17 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.0004304/0.5599, allocations: 263.8 kB / 1.472 GB, free: 13.64 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003131/0.5602, allocations: 95.39 kB / 1.472 GB, free: 13.55 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003175/0.5634, allocations: 1.849 MB / 1.474 GB, free: 11.68 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/0.5634, allocations: 15.98 kB / 1.474 GB, free: 11.66 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.5634, allocations: 0 / 1.474 GB, free: 11.66 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.5634, allocations: 3.984 kB / 1.474 GB, free: 11.66 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01393/0.5774, allocations: 8.57 MB / 1.482 GB, free: 2.898 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-05/0.5774, allocations: 12 kB / 1.482 GB, free: 2.887 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/0.5787, allocations: 311.4 kB / 1.482 GB, free: 2.582 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.892e-05/0.5788, allocations: 16 kB / 1.482 GB, free: 2.566 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000118/0.5789, allocations: 32 kB / 1.482 GB, free: 2.535 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.754e-05/0.5789, allocations: 28.33 kB / 1.482 GB, free: 2.508 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-05/0.5789, allocations: 19.94 kB / 1.482 GB, free: 2.488 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003474/0.5824, allocations: 2.406 MB / 1.485 GB, free: 15.93 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009645/0.5834, allocations: 295.1 kB / 1.485 GB, free: 15.64 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002758/0.5836, allocations: 32 kB / 1.485 GB, free: 15.61 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.5848, allocations: 143.8 kB / 1.485 GB, free: 15.46 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002079/0.585, allocations: 91.58 kB / 1.485 GB, free: 15.38 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.691e-05/0.5851, allocations: 40 kB / 1.485 GB, free: 15.34 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0009664/0.5861, allocations: 0.5536 MB / 1.486 GB, free: 14.79 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5861, allocations: 3.938 kB / 1.486 GB, free: 14.79 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002968/0.589, allocations: 0.7461 MB / 1.487 GB, free: 14.04 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (90): * Single equations (assignments): 90 * 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 Backend phase and start with SimCode phase: time 0.0002904/0.5893, allocations: 146.9 kB / 1.487 GB, free: 13.89 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.004999/0.5943, allocations: 2.753 MB / 1.489 GB, free: 11.14 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.338e-05/0.5943, allocations: 0 / 1.489 GB, free: 11.14 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001458/0.5958, allocations: 0.8846 MB / 1.49 GB, free: 10.26 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002005/0.5978, allocations: 302.5 kB / 1.491 GB, free: 9.98 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/0.6082, allocations: 5.502 MB / 1.496 GB, free: 4.277 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002656/0.6108, allocations: 1.616 MB / 1.498 GB, free: 2.621 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006618/0.6115, allocations: 91.41 kB / 1.498 GB, free: 2.531 MB / 1.186 GB Notification: Performance of SimCode: time 1.583e-06/0.6115, allocations: 4 kB / 1.498 GB, free: 2.527 MB / 1.186 GB Notification: Performance of Templates: time 0.04666/0.6581, allocations: 28.99 MB / 1.526 GB, free: 5.629 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 14.977681185118854]