Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.001054/0.001054, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001197/0.001197, allocations: 173.4 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.9906/0.9906, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.417/2.417, allocations: 438.8 MB / 0.6826 GB, free: 13.63 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.012e-05, allocations: 9.406 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.004762/0.004783, allocations: 4.85 MB / 0.8434 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001961/0.006744, allocations: 1.773 MB / 0.8451 GB, free: 7.562 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002031/0.006947, allocations: 39.62 kB / 0.8451 GB, free: 7.523 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004665/0.007414, allocations: 206.5 kB / 0.8453 GB, free: 7.32 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0004595/0.007873, allocations: 449.1 kB / 0.8458 GB, free: 6.879 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004386/0.008312, allocations: 403.1 kB / 0.8461 GB, free: 6.484 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0007735/0.009085, allocations: 1.286 MB / 0.8474 GB, free: 5.195 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004842/0.009569, allocations: 0.5746 MB / 0.848 GB, free: 4.617 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004914/0.01006, allocations: 0.6703 MB / 0.8486 GB, free: 3.945 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004271/0.01049, allocations: 482.7 kB / 0.8491 GB, free: 3.473 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 6.159e-05/0.01055, allocations: 64 kB / 0.8491 GB, free: 3.41 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001824/0.01073, allocations: 139.8 kB / 0.8493 GB, free: 3.273 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.000179/0.01091, allocations: 331 kB / 0.8496 GB, free: 2.949 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001944/0.01111, allocations: 307.2 kB / 0.8499 GB, free: 2.648 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0007432/0.01185, allocations: 0.7396 MB / 0.8506 GB, free: 1.906 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.01185, allocations: 0 / 0.8506 GB, free: 1.906 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.11e-07/0.01185, allocations: 0 / 0.8506 GB, free: 1.906 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.01186, allocations: 4 kB / 0.8506 GB, free: 1.902 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.0008974/0.01275, allocations: 1.04 MB / 0.8516 GB, free: 0.832 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.806e-05/0.01278, allocations: 8.625 kB / 0.8516 GB, free: 0.8242 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008991/0.01368, allocations: 272.3 kB / 0.8519 GB, free: 0.5586 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004926/0.01417, allocations: 0.5106 MB / 0.8524 GB, free: 20 kB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.912e-05/0.01421, allocations: 53.66 kB / 0.8524 GB, free: 15.96 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.552e-05/0.01428, allocations: 68.31 kB / 0.8525 GB, free: 15.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006156/0.01489, allocations: 0.9601 MB / 0.8534 GB, free: 14.77 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.01491, allocations: 4.125 kB / 0.8534 GB, free: 14.77 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.87e-05/0.01495, allocations: 32.38 kB / 0.8535 GB, free: 14.73 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.554e-05/0.01504, allocations: 89.19 kB / 0.8536 GB, free: 14.65 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002811/0.01532, allocations: 264.6 kB / 0.8538 GB, free: 14.39 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002377/0.0177, allocations: 3.914 MB / 0.8576 GB, free: 10.34 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003372/0.01803, allocations: 281 kB / 0.8579 GB, free: 10.04 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.01814, allocations: 94.33 kB / 0.858 GB, free: 9.949 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.01816, allocations: 12.5 kB / 0.858 GB, free: 9.938 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.01818, allocations: 35.06 kB / 0.858 GB, free: 9.895 MB / 0.823 GB Notification: Performance of pre-optimization done (n=47): time 1.553e-06/0.01818, allocations: 4 kB / 0.858 GB, free: 9.891 MB / 0.823 GB Notification: Performance of matching and sorting (n=48): time 0.001326/0.01951, allocations: 0.8004 MB / 0.8588 GB, free: 9.066 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/0.01953, allocations: 59.91 kB / 0.8589 GB, free: 8.996 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002531/0.01979, allocations: 486.8 kB / 0.8593 GB, free: 8.508 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.01981, allocations: 33.7 kB / 0.8594 GB, free: 8.469 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.01994, allocations: 388.7 kB / 0.8597 GB, free: 8.078 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 7.732e-05/0.02002, allocations: 174.5 kB / 0.8599 GB, free: 7.906 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.02013, allocations: 122.5 kB / 0.86 GB, free: 7.781 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.868e-05/0.02022, allocations: 382.6 kB / 0.8604 GB, free: 7.398 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.578e-05/0.0203, allocations: 69.97 kB / 0.8605 GB, free: 7.332 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.02049, allocations: 300.9 kB / 0.8607 GB, free: 6.941 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003143/0.0208, allocations: 430.9 kB / 0.8612 GB, free: 6.426 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.02081, allocations: 4 kB / 0.8612 GB, free: 6.422 MB / 0.823 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0005985/0.02141, allocations: 0.559 MB / 0.8617 GB, free: 5.836 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.02142, allocations: 8 kB / 0.8617 GB, free: 5.828 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.02143, allocations: 8 kB / 0.8617 GB, free: 5.82 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006221/0.02205, allocations: 298.9 kB / 0.862 GB, free: 5.512 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/0.02229, allocations: 123.8 kB / 0.8621 GB, free: 5.391 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002988/0.02528, allocations: 5.307 MB / 0.8673 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.02549, allocations: 24 kB / 0.8673 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.02551, allocations: 20 kB / 0.8673 GB, free: 15.65 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001279/0.02564, allocations: 156.4 kB / 0.8675 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.617e-05/0.02571, allocations: 63.97 kB / 0.8676 GB, free: 15.42 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005093/0.02621, allocations: 451.5 kB / 0.868 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.02622, allocations: 8 kB / 0.868 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.02622, allocations: 0 / 0.868 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.02623, allocations: 4 kB / 0.868 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009282/0.02716, allocations: 0.8852 MB / 0.8689 GB, free: 14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.02716, allocations: 0 / 0.8689 GB, free: 14 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.02729, allocations: 51.91 kB / 0.8689 GB, free: 13.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005753/0.02786, allocations: 282.6 kB / 0.8692 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.02788, allocations: 12 kB / 0.8692 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002821/0.0307, allocations: 5.299 MB / 0.8744 GB, free: 7.961 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.03071, allocations: 11.97 kB / 0.8744 GB, free: 7.949 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005145/0.03122, allocations: 0.5815 MB / 0.8749 GB, free: 7.312 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.03133, allocations: 79.59 kB / 0.875 GB, free: 7.234 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.29e-05/0.03137, allocations: 11.98 kB / 0.875 GB, free: 7.223 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.03152, allocations: 12 kB / 0.875 GB, free: 7.211 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.047e-05/0.03158, allocations: 44 kB / 0.8751 GB, free: 7.168 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.0316, allocations: 16 kB / 0.8751 GB, free: 7.152 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001252/0.03172, allocations: 204.4 kB / 0.8753 GB, free: 6.953 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.03172, allocations: 0 / 0.8753 GB, free: 6.953 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003995/0.03212, allocations: 227.9 kB / 0.8755 GB, free: 6.73 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.54e-05/0.03221, allocations: 100.3 kB / 0.8756 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007265/0.03293, allocations: 0.9002 MB / 0.8765 GB, free: 5.672 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/0.03294, allocations: 8.5 kB / 0.8765 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004775/0.03342, allocations: 0.7125 MB / 0.8772 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00045/0.03387, allocations: 201.4 kB / 0.8774 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.03541, allocations: 1.267 MB / 0.8786 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.03553, allocations: 211.4 kB / 0.8788 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001613/0.03569, allocations: 77.56 kB / 0.8789 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002851/0.03598, allocations: 217.1 kB / 0.8791 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of SimCode: time 6.32e-07/0.03598, allocations: 3.938 kB / 0.8791 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of Templates: time 0.0129/0.04888, allocations: 12.1 MB / 0.8909 GB, free: 6.992 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.521479946095496]