Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.0009558/0.0009558, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001037/0.001037, allocations: 177 kB / 23.36 MB, free: 1.129 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.8828/0.8828, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.355/2.355, allocations: 438.8 MB / 0.6827 GB, free: 13.59 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,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,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,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,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.187e-06/1.031e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.007125/0.007135, allocations: 9.642 MB / 0.848 GB, free: 4.527 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00582/0.01295, allocations: 6.032 MB / 0.8539 GB, free: 14.48 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004386/0.01339, allocations: 95.12 kB / 0.854 GB, free: 14.38 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006141/0.01401, allocations: 373.1 kB / 0.8543 GB, free: 14.02 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.001656/0.01566, allocations: 1.443 MB / 0.8557 GB, free: 12.57 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007915/0.01646, allocations: 0.6707 MB / 0.8564 GB, free: 11.9 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.001754/0.01821, allocations: 2.601 MB / 0.8589 GB, free: 9.289 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001004/0.01921, allocations: 1.254 MB / 0.8602 GB, free: 7.996 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001166/0.02038, allocations: 1.579 MB / 0.8617 GB, free: 6.414 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008032/0.02118, allocations: 0.9895 MB / 0.8627 GB, free: 5.422 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.000148/0.02133, allocations: 160 kB / 0.8628 GB, free: 5.266 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003665/0.0217, allocations: 323.6 kB / 0.8631 GB, free: 4.949 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.000383/0.02208, allocations: 0.6543 MB / 0.8638 GB, free: 4.293 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004587/0.02254, allocations: 0.6391 MB / 0.8644 GB, free: 3.652 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.02361, allocations: 1.538 MB / 0.8659 GB, free: 2.109 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.02362, allocations: 0 / 0.8659 GB, free: 2.109 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.072e-06/0.02362, allocations: 0 / 0.8659 GB, free: 2.109 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.673e-05/0.02363, allocations: 0 / 0.8659 GB, free: 2.109 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.001803/0.02544, allocations: 1.958 MB / 0.8678 GB, free: 120 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 2.757e-05/0.02546, allocations: 12.62 kB / 0.8678 GB, free: 108 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002769/0.02823, allocations: 0.8394 MB / 0.8686 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.02927, allocations: 1.064 MB / 0.8697 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.248e-05/0.02931, allocations: 86.73 kB / 0.8698 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/0.02947, allocations: 124.4 kB / 0.8699 GB, free: 13.94 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/0.03097, allocations: 1.618 MB / 0.8715 GB, free: 12.12 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/0.03099, allocations: 15.83 kB / 0.8715 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.0311, allocations: 51.98 kB / 0.8715 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002514/0.03135, allocations: 138.2 kB / 0.8717 GB, free: 11.92 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007028/0.03205, allocations: 0.5582 MB / 0.8722 GB, free: 11.35 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004734/0.03679, allocations: 5.72 MB / 0.8778 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009063/0.03769, allocations: 0.5522 MB / 0.8783 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000309/0.038, allocations: 263.7 kB / 0.8786 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.643e-05/0.03805, allocations: 13 kB / 0.8786 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.03807, allocations: 43.56 kB / 0.8786 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=89): time 1.873e-06/0.03807, allocations: 0 / 0.8786 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of matching and sorting (n=90): time 0.006207/0.04428, allocations: 3.22 MB / 0.8818 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.04431, allocations: 72.28 kB / 0.8818 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005304/0.04484, allocations: 0.8558 MB / 0.8827 GB, free: 380 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.283e-05/0.04491, allocations: 41.7 kB / 0.8827 GB, free: 332 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002327/0.04515, allocations: 0.5614 MB / 0.8833 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/0.04533, allocations: 333.1 kB / 0.8836 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/0.04555, allocations: 190.7 kB / 0.8838 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.819e-05/0.04563, allocations: 345.9 kB / 0.8841 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002476/0.04588, allocations: 194.5 kB / 0.8843 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003388/0.04622, allocations: 432.5 kB / 0.8847 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006349/0.04685, allocations: 0.7117 MB / 0.8854 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.04686, allocations: 4 kB / 0.8854 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00169/0.04855, allocations: 1.218 MB / 0.8866 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.04856, allocations: 8 kB / 0.8866 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.04857, allocations: 8 kB / 0.8866 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001762/0.05034, allocations: 0.7658 MB / 0.8873 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004964/0.05083, allocations: 191.7 kB / 0.8875 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00637/0.0572, allocations: 12.35 MB / 0.8996 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004996/0.0577, allocations: 47.98 kB / 0.8996 GB, free: 13.83 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.598e-05/0.05777, allocations: 39.97 kB / 0.8997 GB, free: 13.79 MB / 0.8698 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 (90): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000275/0.05804, allocations: 176.5 kB / 0.8998 GB, free: 13.61 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.0582, allocations: 115.9 kB / 0.9 GB, free: 13.49 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001729/0.05993, allocations: 1.181 MB / 0.9011 GB, free: 12.26 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.05994, allocations: 12 kB / 0.9011 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.05994, allocations: 8 kB / 0.9011 GB, free: 12.24 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.05995, allocations: 3.984 kB / 0.9011 GB, free: 12.24 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002632/0.06258, allocations: 2.026 MB / 0.9031 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.06258, allocations: 0 / 0.9031 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003978/0.06298, allocations: 131.7 kB / 0.9032 GB, free: 10 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001711/0.06469, allocations: 0.7425 MB / 0.904 GB, free: 9.219 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.693e-05/0.06475, allocations: 27.97 kB / 0.904 GB, free: 9.191 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006489/0.07124, allocations: 12.01 MB / 0.9157 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.07124, allocations: 4 kB / 0.9157 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.07291, allocations: 1.184 MB / 0.9169 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003194/0.07323, allocations: 250.9 kB / 0.9171 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.07334, allocations: 20 kB / 0.9171 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004301/0.07377, allocations: 43.97 kB / 0.9172 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/0.07392, allocations: 88.72 kB / 0.9173 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.318e-05/0.07398, allocations: 23.97 kB / 0.9173 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002922/0.07427, allocations: 433 kB / 0.9177 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3e-08/0.07427, allocations: 0 / 0.9177 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0009503/0.07522, allocations: 471.9 kB / 0.9182 GB, free: 9.723 MB / 0.8855 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 (56): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002003/0.07542, allocations: 116.3 kB / 0.9183 GB, free: 9.598 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001787/0.07721, allocations: 1.932 MB / 0.9202 GB, free: 7.551 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.45e-05/0.07722, allocations: 16.5 kB / 0.9202 GB, free: 7.535 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001473/0.07869, allocations: 1.598 MB / 0.9217 GB, free: 5.82 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.07971, allocations: 0.5237 MB / 0.9222 GB, free: 5.316 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002688/0.0824, allocations: 2.502 MB / 0.9247 GB, free: 2.758 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.08268, allocations: 392.2 kB / 0.9251 GB, free: 2.352 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0006018/0.08328, allocations: 283.2 kB / 0.9253 GB, free: 2.07 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000707/0.08399, allocations: 407 kB / 0.9257 GB, free: 1.664 MB / 0.8855 GB Notification: Performance of SimCode: time 6.21e-07/0.08399, allocations: 3.938 kB / 0.9257 GB, free: 1.66 MB / 0.8855 GB Notification: Performance of Templates: time 0.03611/0.1201, allocations: 34.36 MB / 0.9593 GB, free: 15.91 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.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.825082927010953]