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.001015/0.001015, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.0009504/0.0009504, allocations: 177 kB / 23.36 MB, free: 1.137 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.9428/0.9428, allocations: 177.2 MB / 203.8 MB, free: 5.461 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.362/2.362, allocations: 438.8 MB / 0.6826 GB, free: 13.57 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 6.71e-07/6.71e-07, allocations: 3.938 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.665e-05/1.732e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.004194/0.004211, allocations: 4.804 MB / 0.8433 GB, free: 9.363 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002792/0.007003, allocations: 1.765 MB / 0.845 GB, free: 7.59 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003526/0.007356, allocations: 39.62 kB / 0.845 GB, free: 7.551 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004383/0.007794, allocations: 210.4 kB / 0.8452 GB, free: 7.344 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0007088/0.008503, allocations: 461 kB / 0.8457 GB, free: 6.891 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006885/0.009192, allocations: 399.1 kB / 0.8461 GB, free: 6.5 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.001173/0.01037, allocations: 1.283 MB / 0.8473 GB, free: 5.215 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006729/0.01104, allocations: 0.5819 MB / 0.8479 GB, free: 4.629 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007486/0.01179, allocations: 0.6626 MB / 0.8485 GB, free: 3.965 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005559/0.01234, allocations: 486.7 kB / 0.849 GB, free: 3.488 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 7.262e-05/0.01242, allocations: 64 kB / 0.849 GB, free: 3.426 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002542/0.01267, allocations: 139.8 kB / 0.8492 GB, free: 3.289 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002004/0.01287, allocations: 323.1 kB / 0.8495 GB, free: 2.973 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0002442/0.01311, allocations: 319.2 kB / 0.8498 GB, free: 2.66 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0006835/0.0138, allocations: 0.7396 MB / 0.8505 GB, free: 1.918 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.0138, allocations: 0 / 0.8505 GB, free: 1.918 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.192e-06/0.0138, allocations: 0 / 0.8505 GB, free: 1.918 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.331e-05/0.01381, allocations: 4 kB / 0.8505 GB, free: 1.914 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.00101/0.01482, allocations: 1.028 MB / 0.8515 GB, free: 0.8555 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.879e-05/0.01485, allocations: 12.62 kB / 0.8515 GB, free: 0.8438 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007102/0.01556, allocations: 268.3 kB / 0.8518 GB, free: 0.582 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005754/0.01614, allocations: 0.5144 MB / 0.8523 GB, free: 40 kB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.015e-05/0.01618, allocations: 49.75 kB / 0.8523 GB, free: 15.99 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.93e-05/0.01625, allocations: 72.28 kB / 0.8524 GB, free: 15.92 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006489/0.0169, allocations: 0.9485 MB / 0.8533 GB, free: 14.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.01692, allocations: 12.12 kB / 0.8533 GB, free: 14.79 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.957e-05/0.01696, allocations: 28.36 kB / 0.8534 GB, free: 14.76 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.891e-05/0.01704, allocations: 89.19 kB / 0.8535 GB, free: 14.68 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002917/0.01734, allocations: 256.6 kB / 0.8537 GB, free: 14.43 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002423/0.01976, allocations: 3.926 MB / 0.8575 GB, free: 10.36 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/0.02011, allocations: 289 kB / 0.8578 GB, free: 10.06 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.02021, allocations: 102.3 kB / 0.8579 GB, free: 9.961 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.02023, allocations: 8.5 kB / 0.8579 GB, free: 9.953 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.02026, allocations: 39.06 kB / 0.858 GB, free: 9.906 MB / 0.823 GB Notification: Performance of pre-optimization done (n=47): time 1.333e-06/0.02026, allocations: 0 / 0.858 GB, free: 9.906 MB / 0.823 GB Notification: Performance of matching and sorting (n=48): time 0.001315/0.02158, allocations: 0.8043 MB / 0.8587 GB, free: 9.078 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.0216, allocations: 59.91 kB / 0.8588 GB, free: 9.008 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/0.02186, allocations: 478.9 kB / 0.8593 GB, free: 8.527 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.02189, allocations: 37.7 kB / 0.8593 GB, free: 8.484 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.02203, allocations: 384.7 kB / 0.8597 GB, free: 8.098 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.667e-05/0.02212, allocations: 174.5 kB / 0.8598 GB, free: 7.926 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.02223, allocations: 122.5 kB / 0.8599 GB, free: 7.801 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.02233, allocations: 378.6 kB / 0.8603 GB, free: 7.422 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.404e-05/0.02243, allocations: 73.97 kB / 0.8604 GB, free: 7.352 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.02261, allocations: 296.9 kB / 0.8607 GB, free: 6.965 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003282/0.02294, allocations: 442.8 kB / 0.8611 GB, free: 6.438 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.02294, allocations: 4 kB / 0.8611 GB, free: 6.434 MB / 0.823 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0006095/0.02355, allocations: 0.5634 MB / 0.8616 GB, free: 5.844 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.02357, allocations: 12.03 kB / 0.8616 GB, free: 5.832 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.02358, allocations: 8 kB / 0.8617 GB, free: 5.824 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006119/0.02419, allocations: 290.4 kB / 0.8619 GB, free: 5.523 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.02441, allocations: 107.8 kB / 0.862 GB, free: 5.418 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00275/0.02716, allocations: 5.299 MB / 0.8672 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.02739, allocations: 16 kB / 0.8672 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/0.02742, allocations: 28 kB / 0.8673 GB, free: 15.68 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.0001442/0.02756, allocations: 160.5 kB / 0.8674 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.749e-05/0.02763, allocations: 59.88 kB / 0.8675 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005099/0.02814, allocations: 447.5 kB / 0.8679 GB, free: 15 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.02814, allocations: 4 kB / 0.8679 GB, free: 14.99 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.02814, allocations: 4 kB / 0.8679 GB, free: 14.99 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.02815, allocations: 3.984 kB / 0.8679 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009698/0.02912, allocations: 0.8814 MB / 0.8688 GB, free: 14.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.02912, allocations: 4 kB / 0.8688 GB, free: 14.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.02923, allocations: 47.92 kB / 0.8688 GB, free: 13.99 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005741/0.02981, allocations: 282.6 kB / 0.8691 GB, free: 13.7 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.02983, allocations: 8 kB / 0.8691 GB, free: 13.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002802/0.03263, allocations: 5.306 MB / 0.8743 GB, free: 7.996 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.03263, allocations: 0 / 0.8743 GB, free: 7.996 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006143/0.03325, allocations: 0.5815 MB / 0.8748 GB, free: 7.359 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.03337, allocations: 87.53 kB / 0.8749 GB, free: 7.273 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.177e-05/0.03342, allocations: 12 kB / 0.8749 GB, free: 7.262 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.03355, allocations: 8 kB / 0.8749 GB, free: 7.254 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.03366, allocations: 51.89 kB / 0.875 GB, free: 7.203 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.03368, allocations: 12 kB / 0.875 GB, free: 7.191 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001529/0.03383, allocations: 212.3 kB / 0.8752 GB, free: 6.984 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.1e-08/0.03383, allocations: 0 / 0.8752 GB, free: 6.984 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005439/0.03438, allocations: 224 kB / 0.8754 GB, free: 6.766 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 0.0001149/0.03449, allocations: 96.3 kB / 0.8755 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008147/0.03531, allocations: 0.8923 MB / 0.8764 GB, free: 5.719 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.525e-05/0.03532, allocations: 10.31 kB / 0.8764 GB, free: 5.711 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005239/0.03585, allocations: 0.7071 MB / 0.8771 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000497/0.03634, allocations: 206.8 kB / 0.8773 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.03789, allocations: 1.273 MB / 0.8785 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001609/0.03806, allocations: 211.4 kB / 0.8787 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002146/0.03827, allocations: 73.56 kB / 0.8788 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002851/0.03855, allocations: 217.2 kB / 0.879 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of SimCode: time 8.12e-07/0.03856, allocations: 0 / 0.879 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of Templates: time 0.01445/0.053, allocations: 12.09 MB / 0.8908 GB, free: 7.043 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 -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.414962999057025]