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.002014/0.002014, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002466/0.002466, allocations: 214.7 kB / 22.24 MB, free: 4.855 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.522/1.522, allocations: 230.6 MB / 256 MB, free: 7.797 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.857/2.857, allocations: 476 MB / 0.7699 GB, free: 4.738 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.002113/0.002113, allocations: 65.77 kB / 1.117 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3183, allocations: 169.9 MB / 1.283 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01523/0.3336, allocations: 10.71 MB / 1.293 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01044/0.344, allocations: 5.653 MB / 1.299 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.3452, allocations: 71.38 kB / 1.299 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005086/0.3503, allocations: 1.728 MB / 1.301 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004146/0.3545, allocations: 1.182 MB / 1.302 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002622/0.3571, allocations: 0.8172 MB / 1.303 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003528/0.3606, allocations: 2.12 MB / 1.305 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001774/0.3624, allocations: 1.021 MB / 1.306 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001728/0.3641, allocations: 0.8835 MB / 1.307 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001763/0.3659, allocations: 0.9025 MB / 1.308 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003662/0.3662, allocations: 112 kB / 1.308 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002398/0.3686, allocations: 1.06 MB / 1.309 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007555/0.3694, allocations: 0.5374 MB / 1.309 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001225/0.3706, allocations: 0.6414 MB / 1.31 GB, free: 368 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00422/0.3748, allocations: 2.459 MB / 1.312 GB, free: 13.89 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3749, allocations: 3.938 kB / 1.312 GB, free: 13.89 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3749, allocations: 0 / 1.312 GB, free: 13.89 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.275e-05/0.3749, allocations: 3.938 kB / 1.312 GB, free: 13.88 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.0035/0.3784, allocations: 1.84 MB / 1.314 GB, free: 12 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.3785, allocations: 12.03 kB / 1.314 GB, free: 11.99 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004496/0.383, allocations: 0.6669 MB / 1.315 GB, free: 11.32 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002226/0.3852, allocations: 0.9213 MB / 1.316 GB, free: 10.38 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.809e-05/0.3853, allocations: 98.89 kB / 1.316 GB, free: 10.28 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002397/0.3855, allocations: 124.3 kB / 1.316 GB, free: 10.16 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003543/0.3891, allocations: 2.412 MB / 1.318 GB, free: 7.469 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.796e-05/0.3891, allocations: 19.86 kB / 1.318 GB, free: 7.449 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001426/0.3893, allocations: 59.97 kB / 1.318 GB, free: 7.391 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002293/0.3895, allocations: 166.3 kB / 1.318 GB, free: 7.227 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003106/0.3926, allocations: 1.855 MB / 1.32 GB, free: 5.363 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01278/0.4054, allocations: 9.211 MB / 1.329 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004501/0.4099, allocations: 1.862 MB / 1.331 GB, free: 9.992 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008866/0.4108, allocations: 0.558 MB / 1.332 GB, free: 9.43 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001317/0.4109, allocations: 28.92 kB / 1.332 GB, free: 9.402 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.4109, allocations: 43.56 kB / 1.332 GB, free: 9.352 MB / 1.029 GB Notification: Performance of pre-optimization done (n=103): time 3.166e-06/0.4109, allocations: 0 / 1.332 GB, free: 9.352 MB / 1.029 GB Notification: Performance of matching and sorting (n=110): time 0.006332/0.4173, allocations: 3.122 MB / 1.335 GB, free: 6.215 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.4173, allocations: 76.28 kB / 1.335 GB, free: 6.125 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/0.4186, allocations: 0.873 MB / 1.336 GB, free: 5.23 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.609e-05/0.4187, allocations: 45.7 kB / 1.336 GB, free: 5.18 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006288/0.4193, allocations: 0.7571 MB / 1.336 GB, free: 4.414 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004223/0.4197, allocations: 404.6 kB / 1.337 GB, free: 4.016 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004621/0.4202, allocations: 287.4 kB / 1.337 GB, free: 3.73 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.4203, allocations: 301.1 kB / 1.337 GB, free: 3.434 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/0.4214, allocations: 0.6129 MB / 1.338 GB, free: 2.82 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001515/0.4229, allocations: 1.106 MB / 1.339 GB, free: 1.496 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00266/0.4255, allocations: 1.835 MB / 1.341 GB, free: 15.45 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.49e-05/0.4255, allocations: 4 kB / 1.341 GB, free: 15.44 MB / 1.045 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003832/0.4294, allocations: 2.097 MB / 1.343 GB, free: 13.31 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.175e-05/0.4294, allocations: 14.34 kB / 1.343 GB, free: 13.3 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.187e-05/0.4294, allocations: 16 kB / 1.343 GB, free: 13.28 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008474/0.4303, allocations: 259.1 kB / 1.343 GB, free: 13 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/0.4316, allocations: 375.4 kB / 1.343 GB, free: 12.64 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009887/0.4415, allocations: 10.56 MB / 1.354 GB, free: 1.258 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/0.4429, allocations: 131.8 kB / 1.354 GB, free: 1.129 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002245/0.4431, allocations: 67.98 kB / 1.354 GB, free: 1.062 MB / 1.045 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.0008666/0.444, allocations: 410 kB / 1.354 GB, free: 0.6562 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002921/0.4442, allocations: 131.2 kB / 1.355 GB, free: 0.5273 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003188/0.4474, allocations: 1.679 MB / 1.356 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.4474, allocations: 11.94 kB / 1.356 GB, free: 14.8 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/0.4475, allocations: 4 kB / 1.356 GB, free: 14.8 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.4475, allocations: 3.984 kB / 1.356 GB, free: 14.8 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005704/0.4532, allocations: 2.938 MB / 1.359 GB, free: 11.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/0.4532, allocations: 4 kB / 1.359 GB, free: 11.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009079/0.4541, allocations: 223.6 kB / 1.359 GB, free: 11.51 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000762/0.4548, allocations: 247.2 kB / 1.359 GB, free: 11.24 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.467e-05/0.4549, allocations: 31.94 kB / 1.36 GB, free: 11.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01008/0.465, allocations: 10.56 MB / 1.37 GB, free: 15.83 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.909e-06/0.465, allocations: 12 kB / 1.37 GB, free: 15.82 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003297/0.4683, allocations: 1.792 MB / 1.372 GB, free: 13.92 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008135/0.4691, allocations: 223.2 kB / 1.372 GB, free: 13.7 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002722/0.4694, allocations: 43.88 kB / 1.372 GB, free: 13.66 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008192/0.4702, allocations: 87.88 kB / 1.372 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002141/0.4704, allocations: 96.72 kB / 1.372 GB, free: 13.48 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.952e-05/0.4705, allocations: 36 kB / 1.372 GB, free: 13.44 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0009293/0.4714, allocations: 0.5686 MB / 1.373 GB, free: 12.86 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4714, allocations: 0 / 1.373 GB, free: 12.86 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001556/0.473, allocations: 395.9 kB / 1.373 GB, free: 12.48 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.0002757/0.4733, allocations: 139 kB / 1.373 GB, free: 12.33 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0039/0.4772, allocations: 2.402 MB / 1.375 GB, free: 9.828 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.4772, allocations: 4.875 kB / 1.375 GB, free: 9.824 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002308/0.4795, allocations: 1.582 MB / 1.377 GB, free: 8.141 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001802/0.4813, allocations: 346.5 kB / 1.377 GB, free: 7.812 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00523/0.4865, allocations: 2.794 MB / 1.38 GB, free: 4.914 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009711/0.4875, allocations: 0.741 MB / 1.381 GB, free: 4.141 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001072/0.4886, allocations: 347 kB / 1.381 GB, free: 3.797 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003135/0.4889, allocations: 95.42 kB / 1.381 GB, free: 3.703 MB / 1.076 GB Notification: Performance of SimCode: time 1.453e-06/0.4889, allocations: 0 / 1.381 GB, free: 3.703 MB / 1.076 GB Notification: Performance of Templates: time 0.03625/0.5251, allocations: 19.03 MB / 1.4 GB, free: 1.02 MB / 1.092 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.624379185959697]