Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.00174/0.00174, allocations: 113.3 kB / 18.94 MB, free: 2.934 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.002059/0.002059, allocations: 210.6 kB / 22.25 MB, free: 5.086 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.557/1.557, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.829/2.829, allocations: 476.7 MB / 0.7706 GB, free: 4.305 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [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.002137/0.002137, allocations: 69.53 kB / 1.118 GB, free: 40.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3279, allocations: 170 MB / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01543/0.3433, allocations: 11.61 MB / 1.295 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0105/0.3538, allocations: 6.023 MB / 1.301 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001264/0.3551, allocations: 75.31 kB / 1.301 GB, free: 9.477 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004912/0.36, allocations: 1.813 MB / 1.303 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005325/0.3653, allocations: 1.174 MB / 1.304 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00296/0.3683, allocations: 0.8186 MB / 1.305 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003392/0.3717, allocations: 2.127 MB / 1.307 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001593/0.3733, allocations: 1.029 MB / 1.308 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001555/0.3748, allocations: 0.8797 MB / 1.309 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001436/0.3763, allocations: 0.9688 MB / 1.31 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001883/0.3764, allocations: 116 kB / 1.31 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002559/0.379, allocations: 1.208 MB / 1.311 GB, free: 15.29 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006181/0.3796, allocations: 0.5412 MB / 1.312 GB, free: 14.75 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009362/0.3806, allocations: 0.7772 MB / 1.312 GB, free: 13.97 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004167/0.3847, allocations: 2.44 MB / 1.315 GB, free: 11.52 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3847, allocations: 4 kB / 1.315 GB, free: 11.52 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.394e-06/0.3847, allocations: 3.938 kB / 1.315 GB, free: 11.51 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.118e-05/0.3848, allocations: 0 / 1.315 GB, free: 11.51 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.003463/0.3882, allocations: 1.84 MB / 1.316 GB, free: 9.629 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.3883, allocations: 8.031 kB / 1.317 GB, free: 9.621 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004538/0.3928, allocations: 0.6787 MB / 1.317 GB, free: 8.941 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002347/0.3952, allocations: 0.9174 MB / 1.318 GB, free: 8 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.226e-05/0.3953, allocations: 98.89 kB / 1.318 GB, free: 7.902 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002532/0.3955, allocations: 120.4 kB / 1.318 GB, free: 7.785 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003716/0.3992, allocations: 2.215 MB / 1.32 GB, free: 5.344 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.17e-05/0.3993, allocations: 11.89 kB / 1.32 GB, free: 5.332 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001571/0.3994, allocations: 63.97 kB / 1.321 GB, free: 5.27 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002452/0.3997, allocations: 170.2 kB / 1.321 GB, free: 5.102 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00333/0.403, allocations: 1.863 MB / 1.322 GB, free: 3.23 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01466/0.4177, allocations: 11.74 MB / 1.334 GB, free: 6.695 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004525/0.4222, allocations: 1.882 MB / 1.336 GB, free: 4.805 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009658/0.4232, allocations: 0.558 MB / 1.336 GB, free: 4.242 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001621/0.4233, allocations: 24.97 kB / 1.336 GB, free: 4.219 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/0.4234, allocations: 47.5 kB / 1.336 GB, free: 4.164 MB / 1.029 GB Notification: Performance of pre-optimization done (n=103): time 3.476e-06/0.4234, allocations: 0 / 1.336 GB, free: 4.164 MB / 1.029 GB Notification: Performance of matching and sorting (n=110): time 0.00661/0.43, allocations: 3.126 MB / 1.339 GB, free: 1.027 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.569e-05/0.4301, allocations: 64.41 kB / 1.34 GB, free: 0.9492 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.4314, allocations: 0.9167 MB / 1.34 GB, free: 16 kB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.748e-05/0.4315, allocations: 45.7 kB / 1.34 GB, free: 15.96 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006056/0.4321, allocations: 0.7611 MB / 1.341 GB, free: 15.2 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004036/0.4325, allocations: 396.6 kB / 1.342 GB, free: 14.8 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004424/0.4329, allocations: 291.4 kB / 1.342 GB, free: 14.52 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.4331, allocations: 309 kB / 1.342 GB, free: 14.21 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/0.4341, allocations: 0.609 MB / 1.343 GB, free: 13.6 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/0.4355, allocations: 1.106 MB / 1.344 GB, free: 12.28 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002563/0.4381, allocations: 1.839 MB / 1.346 GB, free: 10.22 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/0.4381, allocations: 4 kB / 1.346 GB, free: 10.22 MB / 1.045 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003832/0.4419, allocations: 2.1 MB / 1.348 GB, free: 8.082 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.4419, allocations: 12 kB / 1.348 GB, free: 8.07 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-05/0.442, allocations: 16 kB / 1.348 GB, free: 8.055 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008778/0.4428, allocations: 259.1 kB / 1.348 GB, free: 7.777 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/0.4442, allocations: 375.4 kB / 1.348 GB, free: 7.41 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01002/0.4543, allocations: 10.76 MB / 1.359 GB, free: 11.74 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.4556, allocations: 131.8 kB / 1.359 GB, free: 11.61 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/0.4558, allocations: 71.92 kB / 1.359 GB, free: 11.54 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.0007677/0.4565, allocations: 401.3 kB / 1.359 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002045/0.4567, allocations: 135.2 kB / 1.36 GB, free: 11 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003037/0.4598, allocations: 1.677 MB / 1.361 GB, free: 9.297 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.4598, allocations: 12 kB / 1.361 GB, free: 9.285 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.4598, allocations: 4 kB / 1.361 GB, free: 9.281 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.4598, allocations: 3.984 kB / 1.361 GB, free: 9.277 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005591/0.4654, allocations: 3.268 MB / 1.364 GB, free: 5.871 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.4654, allocations: 8 kB / 1.364 GB, free: 5.863 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008833/0.4663, allocations: 223.6 kB / 1.365 GB, free: 5.645 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007246/0.467, allocations: 246.7 kB / 1.365 GB, free: 5.379 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.957e-05/0.4671, allocations: 27.94 kB / 1.365 GB, free: 5.352 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009808/0.4769, allocations: 10.76 MB / 1.375 GB, free: 9.672 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.4769, allocations: 4 kB / 1.375 GB, free: 9.668 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003282/0.4802, allocations: 1.812 MB / 1.377 GB, free: 7.746 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000705/0.4809, allocations: 231 kB / 1.377 GB, free: 7.52 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001637/0.481, allocations: 28 kB / 1.377 GB, free: 7.492 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006944/0.4817, allocations: 91.86 kB / 1.377 GB, free: 7.402 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002291/0.482, allocations: 104.6 kB / 1.378 GB, free: 7.301 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.837e-05/0.482, allocations: 36 kB / 1.378 GB, free: 7.266 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0009527/0.483, allocations: 0.6177 MB / 1.378 GB, free: 6.641 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.483, allocations: 0 / 1.378 GB, free: 6.641 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001558/0.4846, allocations: 395.9 kB / 1.379 GB, free: 6.254 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.0002675/0.4848, allocations: 139 kB / 1.379 GB, free: 6.109 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003958/0.4888, allocations: 2.402 MB / 1.381 GB, free: 3.605 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.4888, allocations: 0 / 1.381 GB, free: 3.605 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002313/0.4911, allocations: 1.587 MB / 1.383 GB, free: 1.914 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/0.4929, allocations: 370.1 kB / 1.383 GB, free: 1.562 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005077/0.498, allocations: 2.792 MB / 1.386 GB, free: 14.67 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001231/0.4992, allocations: 1.327 MB / 1.387 GB, free: 13.31 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001081/0.5003, allocations: 363.3 kB / 1.387 GB, free: 12.95 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002862/0.5006, allocations: 95.42 kB / 1.387 GB, free: 12.86 MB / 1.092 GB Notification: Performance of SimCode: time 9.82e-07/0.5006, allocations: 4 kB / 1.387 GB, free: 12.85 MB / 1.092 GB Notification: Performance of Templates: time 0.03711/0.5377, allocations: 18.47 MB / 1.405 GB, free: 10.57 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.729625102132559]