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.00179/0.00179, allocations: 110.2 kB / 19.69 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.002438/0.002438, allocations: 210.9 kB / 23.01 MB, free: 4.57 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.785/2.785, allocations: 476.7 MB / 0.7714 GB, free: 4.254 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.002099/0.002099, allocations: 74.91 kB / 1.119 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3932, allocations: 169.9 MB / 1.285 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01503/0.4083, allocations: 11.62 MB / 1.296 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01051/0.4188, allocations: 6.031 MB / 1.302 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.42, allocations: 75.25 kB / 1.302 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004562/0.4246, allocations: 1.802 MB / 1.304 GB, free: 15.72 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003547/0.4281, allocations: 1.182 MB / 1.305 GB, free: 14.53 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002318/0.4304, allocations: 0.8177 MB / 1.306 GB, free: 13.71 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003043/0.4335, allocations: 2.131 MB / 1.308 GB, free: 11.58 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001465/0.4349, allocations: 1.029 MB / 1.309 GB, free: 10.52 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001424/0.4364, allocations: 0.8758 MB / 1.31 GB, free: 9.645 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001339/0.4377, allocations: 0.9726 MB / 1.311 GB, free: 8.668 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000174/0.4379, allocations: 112 kB / 1.311 GB, free: 8.559 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002433/0.4403, allocations: 1.197 MB / 1.312 GB, free: 7.359 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005721/0.4409, allocations: 0.5491 MB / 1.312 GB, free: 6.809 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0008532/0.4417, allocations: 0.7888 MB / 1.313 GB, free: 6.016 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003349/0.4451, allocations: 2.436 MB / 1.315 GB, free: 3.57 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4451, allocations: 0 / 1.315 GB, free: 3.57 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4451, allocations: 0 / 1.315 GB, free: 3.57 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.066e-05/0.4451, allocations: 0 / 1.315 GB, free: 3.57 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.002993/0.4481, allocations: 1.844 MB / 1.317 GB, free: 1.684 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.4481, allocations: 11.97 kB / 1.317 GB, free: 1.672 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004166/0.4523, allocations: 0.6786 MB / 1.318 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001883/0.4542, allocations: 0.9213 MB / 1.319 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.284e-05/0.4543, allocations: 86.95 kB / 1.319 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002124/0.4545, allocations: 132.3 kB / 1.319 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003209/0.4577, allocations: 2.207 MB / 1.321 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.371e-05/0.4578, allocations: 11.88 kB / 1.321 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/0.4579, allocations: 55.98 kB / 1.321 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002119/0.4581, allocations: 166.3 kB / 1.321 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002829/0.4609, allocations: 1.867 MB / 1.323 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01256/0.4735, allocations: 11.76 MB / 1.335 GB, free: 14.74 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004182/0.4777, allocations: 1.872 MB / 1.337 GB, free: 12.86 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008325/0.4785, allocations: 0.562 MB / 1.337 GB, free: 12.3 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001358/0.4786, allocations: 24.97 kB / 1.337 GB, free: 12.27 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/0.4787, allocations: 43.56 kB / 1.337 GB, free: 12.22 MB / 1.045 GB Notification: Performance of pre-optimization done (n=103): time 2.705e-06/0.4787, allocations: 0 / 1.337 GB, free: 12.22 MB / 1.045 GB Notification: Performance of matching and sorting (n=110): time 0.005887/0.4846, allocations: 3.129 MB / 1.34 GB, free: 9.082 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.4846, allocations: 60.41 kB / 1.34 GB, free: 9.008 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.4858, allocations: 0.9206 MB / 1.341 GB, free: 8.07 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.95e-05/0.4858, allocations: 45.7 kB / 1.341 GB, free: 8.02 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005517/0.4864, allocations: 0.7494 MB / 1.342 GB, free: 7.262 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003384/0.4867, allocations: 408.6 kB / 1.342 GB, free: 6.859 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003836/0.4871, allocations: 287.4 kB / 1.343 GB, free: 6.574 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.4872, allocations: 301.1 kB / 1.343 GB, free: 6.277 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009188/0.4882, allocations: 0.6168 MB / 1.344 GB, free: 5.66 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/0.4895, allocations: 1.113 MB / 1.345 GB, free: 4.328 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002367/0.4919, allocations: 1.828 MB / 1.346 GB, free: 2.285 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.4919, allocations: 8 kB / 1.346 GB, free: 2.277 MB / 1.045 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003444/0.4953, allocations: 2.1 MB / 1.348 GB, free: 144 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/0.4953, allocations: 12 kB / 1.348 GB, free: 132 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.229e-05/0.4954, allocations: 19.98 kB / 1.348 GB, free: 112 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008212/0.4962, allocations: 263.1 kB / 1.349 GB, free: 15.83 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.4974, allocations: 371.4 kB / 1.349 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009071/0.5065, allocations: 10.76 MB / 1.36 GB, free: 3.789 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.5078, allocations: 123.8 kB / 1.36 GB, free: 3.668 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.5079, allocations: 79.86 kB / 1.36 GB, free: 3.59 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.0007587/0.5086, allocations: 408.1 kB / 1.36 GB, free: 3.184 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002209/0.5089, allocations: 135.2 kB / 1.36 GB, free: 3.051 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002944/0.5118, allocations: 1.681 MB / 1.362 GB, free: 1.34 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.5118, allocations: 12 kB / 1.362 GB, free: 1.328 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.5118, allocations: 3.984 kB / 1.362 GB, free: 1.324 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.5118, allocations: 3.984 kB / 1.362 GB, free: 1.32 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005365/0.5172, allocations: 3.26 MB / 1.365 GB, free: 13.92 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/0.5172, allocations: 15.97 kB / 1.365 GB, free: 13.91 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008377/0.5181, allocations: 211.7 kB / 1.365 GB, free: 13.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006967/0.5187, allocations: 246.6 kB / 1.366 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.434e-05/0.5188, allocations: 27.94 kB / 1.366 GB, free: 13.41 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009435/0.5282, allocations: 10.75 MB / 1.376 GB, free: 1.734 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/0.5283, allocations: 11.94 kB / 1.376 GB, free: 1.723 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002918/0.5312, allocations: 1.8 MB / 1.378 GB, free: 15.81 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006431/0.5318, allocations: 239 kB / 1.378 GB, free: 15.57 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/0.532, allocations: 28 kB / 1.378 GB, free: 15.55 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006746/0.5326, allocations: 95.86 kB / 1.378 GB, free: 15.45 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000213/0.5329, allocations: 100.7 kB / 1.378 GB, free: 15.36 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.507e-05/0.5329, allocations: 39.94 kB / 1.378 GB, free: 15.32 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0008153/0.5337, allocations: 0.6138 MB / 1.379 GB, free: 14.7 MB / 1.092 GB Notification: Performance of sort global known variables: time 8e-08/0.5337, allocations: 0 / 1.379 GB, free: 14.7 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001394/0.5351, allocations: 396 kB / 1.379 GB, free: 14.31 MB / 1.092 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.0002381/0.5354, allocations: 148.8 kB / 1.38 GB, free: 14.16 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003642/0.539, allocations: 2.399 MB / 1.382 GB, free: 11.66 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.539, allocations: 0 / 1.382 GB, free: 11.66 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002189/0.5412, allocations: 1.587 MB / 1.383 GB, free: 9.969 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/0.5429, allocations: 365.6 kB / 1.384 GB, free: 9.621 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004936/0.5478, allocations: 2.901 MB / 1.387 GB, free: 6.609 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/0.5489, allocations: 1.331 MB / 1.388 GB, free: 5.246 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004198/0.5493, allocations: 107.4 kB / 1.388 GB, free: 5.141 MB / 1.092 GB Notification: Performance of SimCode: time 1.603e-06/0.5493, allocations: 0 / 1.388 GB, free: 5.141 MB / 1.092 GB Notification: Performance of Templates: time 0.06824/0.6175, allocations: 59.5 MB / 1.446 GB, free: 9.648 MB / 1.154 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/jenkins1/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: 16.900000042980537]