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.002234/0.002234, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.0018/0.0018, allocations: 219 kB / 23.01 MB, free: 4.609 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.26/3.26, allocations: 0.505 GB / 0.8108 GB, free: 22.07 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.002035/0.002035, allocations: 71.36 kB / 1.178 GB, free: 16.91 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3737, allocations: 180.2 MB / 1.354 GB, free: 7.965 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02714/0.4009, allocations: 21.59 MB / 1.375 GB, free: 2.305 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01448/0.4154, allocations: 7.997 MB / 1.383 GB, free: 10.29 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002254/0.4176, allocations: 75.62 kB / 1.383 GB, free: 10.21 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004066/0.4217, allocations: 1.41 MB / 1.384 GB, free: 8.797 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003181/0.4249, allocations: 1.019 MB / 1.385 GB, free: 7.773 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005438/0.4303, allocations: 2.085 MB / 1.387 GB, free: 5.688 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.005997/0.4363, allocations: 4.335 MB / 1.392 GB, free: 1.344 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005032/0.4413, allocations: 3.038 MB / 1.395 GB, free: 14.24 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003149/0.4445, allocations: 1.894 MB / 1.396 GB, free: 12.34 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003858/0.4483, allocations: 2.314 MB / 1.399 GB, free: 10.02 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0007991/0.4491, allocations: 432 kB / 1.399 GB, free: 9.598 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001992/0.4511, allocations: 0.9596 MB / 1.4 GB, free: 8.637 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001879/0.453, allocations: 1.703 MB / 1.402 GB, free: 6.93 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002341/0.4553, allocations: 1.716 MB / 1.403 GB, free: 5.207 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.007474/0.4628, allocations: 6.196 MB / 1.409 GB, free: 14.99 MB / 1.108 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.4628, allocations: 0 / 1.409 GB, free: 14.99 MB / 1.108 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4628, allocations: 0 / 1.409 GB, free: 14.99 MB / 1.108 GB Notification: Performance of Transformations before backend: time 0.0001765/0.463, allocations: 0 / 1.409 GB, free: 14.99 MB / 1.108 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.007438/0.4704, allocations: 3.046 MB / 1.412 GB, free: 11.9 MB / 1.108 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.4705, allocations: 12.02 kB / 1.412 GB, free: 11.89 MB / 1.108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003636/0.4741, allocations: 0.7639 MB / 1.413 GB, free: 11.12 MB / 1.108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003781/0.4779, allocations: 1.542 MB / 1.415 GB, free: 9.547 MB / 1.108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001856/0.4781, allocations: 218.2 kB / 1.415 GB, free: 9.332 MB / 1.108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005823/0.4787, allocations: 296.3 kB / 1.415 GB, free: 9.043 MB / 1.108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01008/0.4887, allocations: 5.078 MB / 1.42 GB, free: 3.777 MB / 1.108 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.186e-05/0.4888, allocations: 7.938 kB / 1.42 GB, free: 3.77 MB / 1.108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003167/0.4891, allocations: 120 kB / 1.42 GB, free: 3.652 MB / 1.108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002608/0.4894, allocations: 216.6 kB / 1.421 GB, free: 3.438 MB / 1.108 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007976/0.4974, allocations: 4.216 MB / 1.425 GB, free: 15.21 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02962/0.527, allocations: 22.45 MB / 1.447 GB, free: 6.688 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002994/0.53, allocations: 1.669 MB / 1.448 GB, free: 4.98 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001781/0.5318, allocations: 1.075 MB / 1.449 GB, free: 3.891 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001327/0.5319, allocations: 28.64 kB / 1.449 GB, free: 3.863 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.779e-05/0.5319, allocations: 47.14 kB / 1.449 GB, free: 3.809 MB / 1.139 GB Notification: Performance of pre-optimization done (n=84): time 2.876e-06/0.5319, allocations: 0 / 1.449 GB, free: 3.809 MB / 1.139 GB Notification: Performance of matching and sorting (n=87): time 0.006528/0.5385, allocations: 4.114 MB / 1.453 GB, free: 15.67 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.291e-05/0.5386, allocations: 141.2 kB / 1.453 GB, free: 15.5 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/0.5399, allocations: 0.8721 MB / 1.454 GB, free: 14.62 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 8.712e-05/0.5399, allocations: 41.7 kB / 1.454 GB, free: 14.57 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008768/0.5408, allocations: 1.193 MB / 1.456 GB, free: 13.36 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003416/0.5412, allocations: 329.2 kB / 1.456 GB, free: 13.04 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004603/0.5416, allocations: 278.7 kB / 1.456 GB, free: 12.76 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002336/0.5419, allocations: 410.6 kB / 1.456 GB, free: 12.35 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/0.5432, allocations: 0.8257 MB / 1.457 GB, free: 11.52 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001767/0.545, allocations: 1.318 MB / 1.459 GB, free: 9.984 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003097/0.5481, allocations: 2.167 MB / 1.461 GB, free: 7.621 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.5481, allocations: 4 kB / 1.461 GB, free: 7.617 MB / 1.154 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003755/0.5518, allocations: 2.211 MB / 1.463 GB, free: 5.402 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.5519, allocations: 12 kB / 1.463 GB, free: 5.391 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.5519, allocations: 16.12 kB / 1.463 GB, free: 5.375 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.802e-05/0.5519, allocations: 20 kB / 1.463 GB, free: 5.355 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/0.5536, allocations: 419.3 kB / 1.463 GB, free: 4.945 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-05/0.5536, allocations: 31.86 kB / 1.463 GB, free: 4.914 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/0.5549, allocations: 219.4 kB / 1.464 GB, free: 4.699 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.5551, allocations: 59.98 kB / 1.464 GB, free: 4.641 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002869/0.5579, allocations: 1.681 MB / 1.465 GB, free: 2.957 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001572/0.5595, allocations: 1.194 MB / 1.466 GB, free: 1.527 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002625/0.5621, allocations: 1.894 MB / 1.468 GB, free: 15.43 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.447e-06/0.5621, allocations: 7.938 kB / 1.468 GB, free: 15.42 MB / 1.17 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003298/0.5654, allocations: 1.93 MB / 1.47 GB, free: 13.48 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.5655, allocations: 12 kB / 1.47 GB, free: 13.46 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/0.5655, allocations: 16 kB / 1.47 GB, free: 13.45 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.986e-05/0.5655, allocations: 23.98 kB / 1.47 GB, free: 13.43 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.5669, allocations: 363.4 kB / 1.471 GB, free: 13.07 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.511e-05/0.5669, allocations: 44.16 kB / 1.471 GB, free: 13.03 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/0.5682, allocations: 175.4 kB / 1.471 GB, free: 12.86 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.5683, allocations: 63.98 kB / 1.471 GB, free: 12.79 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.0004228/0.5687, allocations: 267.7 kB / 1.471 GB, free: 12.52 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002459/0.5689, allocations: 111.3 kB / 1.471 GB, free: 12.41 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003086/0.572, allocations: 1.854 MB / 1.473 GB, free: 10.55 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.572, allocations: 8 kB / 1.473 GB, free: 10.54 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.572, allocations: 0 / 1.473 GB, free: 10.54 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-05/0.5721, allocations: 7.984 kB / 1.473 GB, free: 10.54 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01417/0.5862, allocations: 9.437 MB / 1.482 GB, free: 0.8906 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.597e-05/0.5862, allocations: 8 kB / 1.482 GB, free: 0.8828 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/0.5875, allocations: 315.4 kB / 1.483 GB, free: 0.5742 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.433e-05/0.5875, allocations: 16 kB / 1.483 GB, free: 0.5586 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.986e-05/0.5876, allocations: 32 kB / 1.483 GB, free: 0.5273 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.102e-05/0.5876, allocations: 23.81 kB / 1.483 GB, free: 0.5039 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.284e-05/0.5876, allocations: 19.94 kB / 1.483 GB, free: 496 kB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003155/0.5907, allocations: 2.406 MB / 1.485 GB, free: 13.91 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008365/0.5916, allocations: 311 kB / 1.485 GB, free: 13.61 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/0.5917, allocations: 28 kB / 1.485 GB, free: 13.58 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009882/0.5927, allocations: 147.7 kB / 1.485 GB, free: 13.44 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001982/0.5929, allocations: 95.81 kB / 1.486 GB, free: 13.34 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.473e-05/0.593, allocations: 32 kB / 1.486 GB, free: 13.31 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0009933/0.594, allocations: 0.616 MB / 1.486 GB, free: 12.7 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.3e-07/0.594, allocations: 8 kB / 1.486 GB, free: 12.69 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002612/0.5966, allocations: 0.7578 MB / 1.487 GB, free: 11.93 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.0002698/0.5969, allocations: 142.9 kB / 1.487 GB, free: 11.79 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.004673/0.6016, allocations: 2.753 MB / 1.49 GB, free: 9.043 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.6016, allocations: 0 / 1.49 GB, free: 9.043 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001341/0.6029, allocations: 0.8886 MB / 1.491 GB, free: 8.156 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001799/0.6047, allocations: 317 kB / 1.491 GB, free: 7.871 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009491/0.6142, allocations: 5.498 MB / 1.496 GB, free: 2.172 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002371/0.6166, allocations: 2.191 MB / 1.498 GB, free: 15.94 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006449/0.6172, allocations: 103.4 kB / 1.499 GB, free: 15.84 MB / 1.201 GB Notification: Performance of SimCode: time 1.793e-06/0.6172, allocations: 3.938 kB / 1.499 GB, free: 15.84 MB / 1.201 GB Notification: Performance of Templates: time 0.04749/0.6647, allocations: 28.29 MB / 1.526 GB, free: 3.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.66866879799636]