Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.001439/0.001439, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001718/0.001718, allocations: 165 kB / 23.82 MB, free: 0.75 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.9638/0.9638, allocations: 177.1 MB / 204.2 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.925/1.925, allocations: 377.8 MB / 0.6236 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.[0-9,]+..v.[0-9,]+.|R2.terminal.phase.[0-9,]+..v.[0-9,]+.|R3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.[0-9,]+..v.[0-9,]+.|R2.terminal.phase.[0-9,]+..v.[0-9,]+.|R3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.8115 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.85e-05/3.017e-05, allocations: 2.312 kB / 0.8115 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.02021/0.02024, allocations: 20.06 MB / 0.8311 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.009769/0.03001, allocations: 5.596 MB / 0.8366 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002833/0.03284, allocations: 190.6 kB / 0.8368 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002076/0.03491, allocations: 0.8305 MB / 0.8376 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.003705/0.03862, allocations: 1.855 MB / 0.8394 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00313/0.04175, allocations: 1.639 MB / 0.841 GB, free: 2.367 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.007898/0.04965, allocations: 8.024 MB / 0.8488 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006399/0.05605, allocations: 5.215 MB / 0.8539 GB, free: 4.984 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00788/0.06393, allocations: 4.858 MB / 0.8587 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005735/0.06966, allocations: 3.691 MB / 0.8623 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.001681/0.07134, allocations: 0.6797 MB / 0.863 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002233/0.07357, allocations: 0.7732 MB / 0.8637 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.002878/0.07645, allocations: 2.841 MB / 0.8665 GB, free: 8.117 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.003834/0.08029, allocations: 2.199 MB / 0.8686 GB, free: 5.914 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.007096/0.08738, allocations: 5.341 MB / 0.8738 GB, free: 0.5586 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.08739, allocations: 0 / 0.8738 GB, free: 0.5586 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.422e-06/0.08739, allocations: 0 / 0.8738 GB, free: 0.5586 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002547/0.08764, allocations: 4 kB / 0.8738 GB, free: 0.5547 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.009276/0.09692, allocations: 5.631 MB / 0.8793 GB, free: 10.85 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.09696, allocations: 8.031 kB / 0.8794 GB, free: 10.84 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004263/0.1012, allocations: 1.519 MB / 0.8808 GB, free: 9.32 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005374/0.1066, allocations: 3.099 MB / 0.8839 GB, free: 6.152 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002514/0.1069, allocations: 361.9 kB / 0.8842 GB, free: 5.797 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006627/0.1075, allocations: 480.3 kB / 0.8847 GB, free: 5.328 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008478/0.116, allocations: 5.394 MB / 0.8899 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001011/0.1161, allocations: 24 kB / 0.89 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004224/0.1165, allocations: 212.3 kB / 0.8902 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004439/0.117, allocations: 369 kB / 0.8905 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004132/0.1211, allocations: 1.849 MB / 0.8923 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02023/0.1413, allocations: 26.24 MB / 0.9179 GB, free: 1.781 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/0.1427, allocations: 0.8892 MB / 0.9188 GB, free: 0.875 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007372/0.1434, allocations: 0.6145 MB / 0.9194 GB, free: 264 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.012e-05/0.1435, allocations: 25.31 kB / 0.9194 GB, free: 236 kB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.1436, allocations: 54.7 kB / 0.9195 GB, free: 172 kB / 0.823 GB Notification: Performance of pre-optimization done (n=157): time 3.517e-06/0.1436, allocations: 0 / 0.9195 GB, free: 172 kB / 0.823 GB Notification: Performance of matching and sorting (n=160): time 0.006246/0.1498, allocations: 3.889 MB / 0.9233 GB, free: 12.22 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.1499, allocations: 68.72 kB / 0.9233 GB, free: 12.14 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/0.1514, allocations: 1.585 MB / 0.9249 GB, free: 10.51 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.408e-05/0.1515, allocations: 53.7 kB / 0.9249 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009385/0.1524, allocations: 2.246 MB / 0.9271 GB, free: 8.188 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.000331/0.1527, allocations: 0.5888 MB / 0.9277 GB, free: 7.594 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003834/0.1531, allocations: 405.9 kB / 0.9281 GB, free: 7.188 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.218e-05/0.1532, allocations: 476.8 kB / 0.9286 GB, free: 6.719 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005993/0.1538, allocations: 376.2 kB / 0.9289 GB, free: 6.348 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.1548, allocations: 1.375 MB / 0.9303 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001973/0.1568, allocations: 1.914 MB / 0.9321 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/0.1568, allocations: 4 kB / 0.9321 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.003039/0.1599, allocations: 2.374 MB / 0.9344 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.1599, allocations: 16 kB / 0.9345 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.279e-05/0.1599, allocations: 24 kB / 0.9345 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001646/0.1616, allocations: 0.7424 MB / 0.9352 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008675/0.1624, allocations: 427.2 kB / 0.9356 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01243/0.1749, allocations: 23.09 MB / 0.9582 GB, free: 5.949 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.1759, allocations: 123.9 kB / 0.9583 GB, free: 5.828 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.1761, allocations: 96.06 kB / 0.9584 GB, free: 5.734 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.0008964/0.177, allocations: 303.8 kB / 0.9587 GB, free: 5.426 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002907/0.1772, allocations: 302.4 kB / 0.959 GB, free: 5.129 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002494/0.1797, allocations: 1.72 MB / 0.9606 GB, free: 3.344 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.497e-06/0.1798, allocations: 16 kB / 0.9606 GB, free: 3.328 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.1798, allocations: 8 kB / 0.9607 GB, free: 3.32 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.1798, allocations: 7.969 kB / 0.9607 GB, free: 3.312 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006559/0.1863, allocations: 5.028 MB / 0.9656 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.1863, allocations: 8 kB / 0.9656 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005067/0.1868, allocations: 219.6 kB / 0.9658 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001762/0.1886, allocations: 0.6991 MB / 0.9665 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.796e-05/0.1887, allocations: 35.98 kB / 0.9665 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01125/0.1999, allocations: 23.05 MB / 0.989 GB, free: 4.582 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.1999, allocations: 4 kB / 0.989 GB, free: 4.578 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002668/0.2026, allocations: 1.998 MB / 0.991 GB, free: 2.426 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007088/0.2033, allocations: 438.2 kB / 0.9914 GB, free: 1.996 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001442/0.2035, allocations: 35.98 kB / 0.9914 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005378/0.204, allocations: 91.89 kB / 0.9915 GB, free: 1.871 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002954/0.2043, allocations: 144.9 kB / 0.9916 GB, free: 1.727 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.671e-05/0.2044, allocations: 48 kB / 0.9917 GB, free: 1.68 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000837/0.2052, allocations: 0.8989 MB / 0.9926 GB, free: 0.7617 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2052, allocations: 0 / 0.9926 GB, free: 0.7617 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002062/0.2073, allocations: 0.9024 MB / 0.9935 GB, free: 15.86 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,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.0002033/0.2075, allocations: 158.7 kB / 0.9936 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003446/0.2109, allocations: 3.724 MB / 0.9972 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.2109, allocations: 0 / 0.9972 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002339/0.2132, allocations: 3 MB / 1 GB, free: 8.543 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002038/0.2153, allocations: 0.7723 MB / 1.001 GB, free: 7.781 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00889/0.2242, allocations: 7.001 MB / 1.008 GB, free: 0.6328 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/0.2253, allocations: 1.18 MB / 1.009 GB, free: 15.42 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0009527/0.2262, allocations: 436.5 kB / 1.009 GB, free: 14.99 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002643/0.2265, allocations: 132.5 kB / 1.009 GB, free: 14.86 MB / 0.9323 GB Notification: Performance of SimCode: time 1.543e-06/0.2265, allocations: 8 kB / 1.009 GB, free: 14.86 MB / 0.9323 GB Notification: Performance of Templates: time 0.3902/0.6167, allocations: 42.72 MB / 1.051 GB, free: 179.3 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_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: 6.427097782026976]