Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.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.00131/0.00131, allocations: 108.2 kB / 19.71 MB, free: 2.145 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.001454/0.001454, allocations: 207.1 kB / 23 MB, free: 4.977 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.528/1.528, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.23/3.23, allocations: 0.49 GB / 0.7959 GB, free: 35.51 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.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load.v.1.|load.v.2.|E.terminal.v.1.|E.terminal.v.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load.v.1.|load.v.2.|E.terminal.v.1.|E.terminal.v.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") [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.00283/0.00283, allocations: 63.66 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3742, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.007791/0.382, allocations: 4.944 MB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00582/0.3878, allocations: 3.264 MB / 1.335 GB, free: 8.746 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003679/0.3882, allocations: 19.81 kB / 1.335 GB, free: 8.727 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001725/0.3899, allocations: 490 kB / 1.336 GB, free: 8.246 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001175/0.3911, allocations: 398 kB / 1.336 GB, free: 7.855 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008133/0.3919, allocations: 283.3 kB / 1.336 GB, free: 7.578 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001048/0.3929, allocations: 0.6619 MB / 1.337 GB, free: 6.914 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006311/0.3936, allocations: 349.7 kB / 1.337 GB, free: 6.57 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004641/0.394, allocations: 327.1 kB / 1.338 GB, free: 6.25 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004837/0.3945, allocations: 306.9 kB / 1.338 GB, free: 5.949 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.017e-05/0.3946, allocations: 44 kB / 1.338 GB, free: 5.906 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005702/0.3952, allocations: 283.5 kB / 1.338 GB, free: 5.629 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002139/0.3954, allocations: 187.5 kB / 1.338 GB, free: 5.445 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002407/0.3956, allocations: 195.2 kB / 1.338 GB, free: 5.254 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.3967, allocations: 0.8331 MB / 1.339 GB, free: 4.418 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3967, allocations: 4 kB / 1.339 GB, free: 4.414 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3967, allocations: 0 / 1.339 GB, free: 4.414 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.3967, allocations: 0 / 1.339 GB, free: 4.414 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001671/0.3984, allocations: 0.7422 MB / 1.34 GB, free: 3.637 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.3984, allocations: 12.03 kB / 1.34 GB, free: 3.625 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003139/0.4016, allocations: 0.6791 MB / 1.341 GB, free: 2.945 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.4026, allocations: 398.2 kB / 1.341 GB, free: 2.531 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.556e-05/0.4026, allocations: 21.03 kB / 1.341 GB, free: 2.512 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.4027, allocations: 40.09 kB / 1.341 GB, free: 2.473 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.4047, allocations: 0.8813 MB / 1.342 GB, free: 1.551 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.4048, allocations: 8 kB / 1.342 GB, free: 1.543 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.588e-05/0.4048, allocations: 15.98 kB / 1.342 GB, free: 1.527 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000201/0.405, allocations: 56.59 kB / 1.342 GB, free: 1.473 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002281/0.4073, allocations: 0.9272 MB / 1.343 GB, free: 0.543 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004281/0.4116, allocations: 2.102 MB / 1.345 GB, free: 14.38 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00172/0.4133, allocations: 0.5368 MB / 1.346 GB, free: 13.84 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000784/0.4141, allocations: 292.6 kB / 1.346 GB, free: 13.55 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.074e-05/0.4142, allocations: 15.98 kB / 1.346 GB, free: 13.54 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.4142, allocations: 30.56 kB / 1.346 GB, free: 13.5 MB / 1.045 GB Notification: Performance of pre-optimization done (n=22): time 4.057e-06/0.4142, allocations: 0 / 1.346 GB, free: 13.5 MB / 1.045 GB Notification: Performance of matching and sorting (n=32): time 0.01541/0.4296, allocations: 3.522 MB / 1.349 GB, free: 9.957 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.4297, allocations: 55.41 kB / 1.349 GB, free: 9.891 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005056/0.4302, allocations: 368.4 kB / 1.35 GB, free: 9.52 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.877e-05/0.4303, allocations: 29.7 kB / 1.35 GB, free: 9.484 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/0.4305, allocations: 240.5 kB / 1.35 GB, free: 9.246 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.4306, allocations: 119 kB / 1.35 GB, free: 9.129 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002048/0.4308, allocations: 85.62 kB / 1.35 GB, free: 9.039 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.431, allocations: 342.8 kB / 1.351 GB, free: 8.695 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/0.4321, allocations: 420.5 kB / 1.351 GB, free: 8.281 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/0.4333, allocations: 0.5102 MB / 1.351 GB, free: 7.734 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002221/0.4355, allocations: 0.874 MB / 1.352 GB, free: 6.832 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4355, allocations: 0 / 1.352 GB, free: 6.832 MB / 1.045 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.006414/0.4419, allocations: 1.736 MB / 1.354 GB, free: 5.078 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.4419, allocations: 9.875 kB / 1.354 GB, free: 5.07 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.4419, allocations: 0 / 1.354 GB, free: 5.07 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004852/0.4468, allocations: 0.9271 MB / 1.355 GB, free: 4.133 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000751/0.4475, allocations: 135.8 kB / 1.355 GB, free: 4 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009998/0.4575, allocations: 6.488 MB / 1.361 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009583/0.4585, allocations: 119.9 kB / 1.361 GB, free: 13.08 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.599e-05/0.4585, allocations: 15.98 kB / 1.361 GB, free: 13.07 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001362/0.4599, allocations: 0.5856 MB / 1.362 GB, free: 12.48 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001113/0.461, allocations: 0.494 MB / 1.363 GB, free: 11.95 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002109/0.4631, allocations: 0.8546 MB / 1.363 GB, free: 11.06 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.748e-06/0.4631, allocations: 4 kB / 1.363 GB, free: 11.06 MB / 1.061 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.00546/0.4686, allocations: 1.56 MB / 1.365 GB, free: 9.48 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.4686, allocations: 7.984 kB / 1.365 GB, free: 9.473 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.4686, allocations: 7.938 kB / 1.365 GB, free: 9.465 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00342/0.472, allocations: 0.7047 MB / 1.366 GB, free: 8.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007137/0.4728, allocations: 135.8 kB / 1.366 GB, free: 8.617 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008338/0.4811, allocations: 6.084 MB / 1.372 GB, free: 2.234 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009967/0.4821, allocations: 115.8 kB / 1.372 GB, free: 2.121 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.452e-05/0.4821, allocations: 16 kB / 1.372 GB, free: 2.105 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002866/0.4824, allocations: 205.9 kB / 1.372 GB, free: 1.898 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.4825, allocations: 35.8 kB / 1.372 GB, free: 1.863 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005463/0.488, allocations: 1.576 MB / 1.374 GB, free: 272 kB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.488, allocations: 0 / 1.374 GB, free: 272 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.567e-05/0.488, allocations: 7.938 kB / 1.374 GB, free: 264 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003314/0.4884, allocations: 91.75 kB / 1.374 GB, free: 172 kB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.719e-05/0.4884, allocations: 8 kB / 1.374 GB, free: 164 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006561/0.4891, allocations: 83.86 kB / 1.374 GB, free: 80 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.4892, allocations: 35.86 kB / 1.374 GB, free: 44 kB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004268/0.4935, allocations: 1.373 MB / 1.375 GB, free: 14.65 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002627/0.4961, allocations: 1.265 MB / 1.376 GB, free: 13.36 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008164/0.4969, allocations: 356.1 kB / 1.377 GB, free: 13.02 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004189/0.4974, allocations: 279 kB / 1.377 GB, free: 12.75 MB / 1.076 GB Notification: Performance of Backend: time 7.71e-07/0.4974, allocations: 0 / 1.377 GB, free: 12.75 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004912/0.5023, allocations: 2.009 MB / 1.379 GB, free: 10.65 MB / 1.076 GB Notification: Performance of SimCode: time 0.002217/0.5045, allocations: 1.519 MB / 1.38 GB, free: 9.086 MB / 1.076 GB Notification: Performance of Templates: time 0.03313/0.5376, allocations: 19.69 MB / 1.4 GB, free: 5.543 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGrid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.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.809543852999923]