Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001874/0.001874, allocations: 108.3 kB / 19.71 MB, free: 2.141 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.002345/0.002345, allocations: 215.6 kB / 23 MB, free: 4.957 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.566/1.566, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.214/3.214, allocations: 0.4892 GB / 0.7951 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002127/0.002127, allocations: 63.53 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3528, allocations: 176.1 MB / 1.326 GB, free: 1.73 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01607/0.3688, allocations: 10.69 MB / 1.337 GB, free: 7.004 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01123/0.3801, allocations: 5.649 MB / 1.342 GB, free: 1.336 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001471/0.3815, allocations: 71.31 kB / 1.342 GB, free: 1.266 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.005323/0.3869, allocations: 1.734 MB / 1.344 GB, free: 15.53 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003753/0.3906, allocations: 1.178 MB / 1.345 GB, free: 14.35 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002557/0.3932, allocations: 0.8258 MB / 1.346 GB, free: 13.52 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003445/0.3966, allocations: 2.116 MB / 1.348 GB, free: 11.39 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001716/0.3983, allocations: 1.021 MB / 1.349 GB, free: 10.34 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001704/0.4, allocations: 0.8796 MB / 1.35 GB, free: 9.461 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001589/0.4016, allocations: 0.9064 MB / 1.351 GB, free: 8.551 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002328/0.4019, allocations: 116 kB / 1.351 GB, free: 8.438 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002316/0.4042, allocations: 1.056 MB / 1.352 GB, free: 7.379 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0007016/0.4049, allocations: 0.5491 MB / 1.352 GB, free: 6.828 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0008986/0.4058, allocations: 0.6453 MB / 1.353 GB, free: 6.18 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003955/0.4097, allocations: 2.451 MB / 1.355 GB, free: 3.719 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.4097, allocations: 0 / 1.355 GB, free: 3.719 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.605e-06/0.4097, allocations: 0 / 1.355 GB, free: 3.719 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.267e-05/0.4098, allocations: 3.938 kB / 1.355 GB, free: 3.715 MB / 1.045 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.003459/0.4132, allocations: 1.84 MB / 1.357 GB, free: 1.832 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.4133, allocations: 8.031 kB / 1.357 GB, free: 1.824 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004546/0.4178, allocations: 0.6748 MB / 1.358 GB, free: 1.148 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002238/0.4201, allocations: 0.9213 MB / 1.359 GB, free: 204 kB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.182e-05/0.4202, allocations: 94.91 kB / 1.359 GB, free: 108 kB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002794/0.4204, allocations: 124.4 kB / 1.359 GB, free: 15.98 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003734/0.4242, allocations: 2.415 MB / 1.361 GB, free: 13.29 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.812e-05/0.4242, allocations: 15.83 kB / 1.361 GB, free: 13.28 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001529/0.4244, allocations: 63.92 kB / 1.362 GB, free: 13.21 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002273/0.4246, allocations: 162.3 kB / 1.362 GB, free: 13.05 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00322/0.4278, allocations: 1.867 MB / 1.363 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01252/0.4404, allocations: 9.196 MB / 1.372 GB, free: 1.699 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004607/0.445, allocations: 1.873 MB / 1.374 GB, free: 15.81 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/0.446, allocations: 0.5581 MB / 1.375 GB, free: 15.25 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001631/0.4461, allocations: 24.92 kB / 1.375 GB, free: 15.23 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.49e-05/0.4462, allocations: 55.5 kB / 1.375 GB, free: 15.16 MB / 1.076 GB Notification: Performance of pre-optimization done (n=103): time 4.087e-06/0.4462, allocations: 0 / 1.375 GB, free: 15.16 MB / 1.076 GB Notification: Performance of matching and sorting (n=110): time 0.006565/0.4528, allocations: 3.11 MB / 1.378 GB, free: 12.04 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.716e-05/0.4528, allocations: 68.34 kB / 1.378 GB, free: 11.96 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.454, allocations: 0.873 MB / 1.379 GB, free: 11.07 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.943e-05/0.4541, allocations: 49.7 kB / 1.379 GB, free: 11.01 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006191/0.4548, allocations: 0.7609 MB / 1.38 GB, free: 10.25 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003928/0.4552, allocations: 400.6 kB / 1.38 GB, free: 9.852 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004836/0.4556, allocations: 291.4 kB / 1.38 GB, free: 9.562 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.4558, allocations: 301.1 kB / 1.381 GB, free: 9.266 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.4569, allocations: 0.6129 MB / 1.381 GB, free: 8.652 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001528/0.4584, allocations: 1.102 MB / 1.382 GB, free: 7.336 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002789/0.4612, allocations: 1.835 MB / 1.384 GB, free: 5.281 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.358e-05/0.4612, allocations: 4 kB / 1.384 GB, free: 5.277 MB / 1.076 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00391/0.4651, allocations: 2.101 MB / 1.386 GB, free: 3.148 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/0.4652, allocations: 12 kB / 1.386 GB, free: 3.137 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/0.4652, allocations: 16 kB / 1.386 GB, free: 3.121 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008642/0.4661, allocations: 262.8 kB / 1.386 GB, free: 2.84 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/0.4674, allocations: 371.4 kB / 1.387 GB, free: 2.477 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01023/0.4776, allocations: 10.57 MB / 1.397 GB, free: 7.082 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/0.479, allocations: 127.8 kB / 1.397 GB, free: 6.957 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/0.4792, allocations: 72.3 kB / 1.397 GB, free: 6.887 MB / 1.092 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.0007435/0.4799, allocations: 409.7 kB / 1.398 GB, free: 6.477 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002306/0.4802, allocations: 127.2 kB / 1.398 GB, free: 6.352 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003169/0.4833, allocations: 1.679 MB / 1.399 GB, free: 4.633 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/0.4833, allocations: 12 kB / 1.399 GB, free: 4.621 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.4833, allocations: 0 / 1.399 GB, free: 4.621 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/0.4834, allocations: 7.984 kB / 1.399 GB, free: 4.613 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005542/0.4889, allocations: 2.938 MB / 1.402 GB, free: 1.547 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.4889, allocations: 4 kB / 1.402 GB, free: 1.543 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000887/0.4898, allocations: 219.6 kB / 1.403 GB, free: 1.328 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007506/0.4905, allocations: 247 kB / 1.403 GB, free: 1.062 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.988e-05/0.4906, allocations: 31.94 kB / 1.403 GB, free: 1.031 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01007/0.5007, allocations: 10.56 MB / 1.413 GB, free: 5.652 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.5007, allocations: 4 kB / 1.413 GB, free: 5.648 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00312/0.5038, allocations: 1.8 MB / 1.415 GB, free: 3.738 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007527/0.5046, allocations: 219.1 kB / 1.415 GB, free: 3.523 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001784/0.5047, allocations: 35.92 kB / 1.415 GB, free: 3.488 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007324/0.5055, allocations: 91.88 kB / 1.415 GB, free: 3.398 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002042/0.5057, allocations: 104.8 kB / 1.415 GB, free: 3.297 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.43e-05/0.5057, allocations: 32 kB / 1.415 GB, free: 3.266 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0008136/0.5066, allocations: 0.5647 MB / 1.416 GB, free: 2.691 MB / 1.107 GB Notification: Performance of sort global known variables: time 7e-08/0.5066, allocations: 0 / 1.416 GB, free: 2.691 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.00153/0.5081, allocations: 399.9 kB / 1.416 GB, free: 2.301 MB / 1.107 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.0002684/0.5084, allocations: 143 kB / 1.416 GB, free: 2.152 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.00407/0.5124, allocations: 2.406 MB / 1.419 GB, free: 15.64 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.5124, allocations: 0 / 1.419 GB, free: 15.64 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002373/0.5148, allocations: 1.583 MB / 1.42 GB, free: 13.96 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/0.5167, allocations: 341.4 kB / 1.421 GB, free: 13.64 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00534/0.522, allocations: 2.895 MB / 1.423 GB, free: 10.64 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009255/0.5229, allocations: 0.7332 MB / 1.424 GB, free: 9.867 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004864/0.5234, allocations: 111.4 kB / 1.424 GB, free: 9.762 MB / 1.123 GB Notification: Performance of SimCode: time 1.623e-06/0.5234, allocations: 3.938 kB / 1.424 GB, free: 9.758 MB / 1.123 GB Notification: Performance of Templates: time 0.07747/0.6009, allocations: 59.73 MB / 1.483 GB, free: 14.02 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.915073135867715]