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.0009353/0.0009353, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009363/0.0009363, allocations: 169 kB / 24.28 MB, free: 272 kB / 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.9167/0.9167, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.879/1.879, allocations: 377.8 MB / 0.6239 GB, free: 8.586 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.763e-06/1.763e-06, allocations: 0 / 0.8115 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.507e-05/1.683e-05, allocations: 3.312 kB / 0.8115 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.02647/0.02648, allocations: 35.6 MB / 0.8463 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01196/0.03845, allocations: 10.18 MB / 0.8562 GB, free: 4.207 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001285/0.03973, allocations: 190.6 kB / 0.8564 GB, free: 4.02 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.004254/0.04399, allocations: 3.94 MB / 0.8603 GB, free: 68 kB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.003189/0.04718, allocations: 2.206 MB / 0.8624 GB, free: 13.85 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002486/0.04966, allocations: 1.995 MB / 0.8644 GB, free: 11.85 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.005418/0.05508, allocations: 8.129 MB / 0.8723 GB, free: 3.695 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004605/0.05969, allocations: 5.265 MB / 0.8775 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003878/0.06356, allocations: 4.927 MB / 0.8823 GB, free: 9.367 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003271/0.06683, allocations: 3.702 MB / 0.8859 GB, free: 5.656 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.000656/0.06749, allocations: 0.6797 MB / 0.8866 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001532/0.06902, allocations: 1.369 MB / 0.8879 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.001849/0.07087, allocations: 2.849 MB / 0.8907 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.001622/0.07249, allocations: 2.183 MB / 0.8928 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.004146/0.07664, allocations: 5.73 MB / 0.8984 GB, free: 8.816 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.07664, allocations: 4 kB / 0.8984 GB, free: 8.812 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.263e-06/0.07664, allocations: 0 / 0.8984 GB, free: 8.812 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.567e-05/0.0767, allocations: 0 / 0.8984 GB, free: 8.812 MB / 0.8542 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.005379/0.08208, allocations: 5.713 MB / 0.904 GB, free: 3.031 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.08212, allocations: 8.031 kB / 0.904 GB, free: 3.023 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003381/0.0855, allocations: 1.519 MB / 0.9055 GB, free: 1.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003058/0.08856, allocations: 3.103 MB / 0.9085 GB, free: 14.33 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001659/0.08872, allocations: 357.9 kB / 0.9088 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004493/0.08917, allocations: 484.3 kB / 0.9093 GB, free: 13.51 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005489/0.09466, allocations: 5.394 MB / 0.9146 GB, free: 7.449 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-05/0.09474, allocations: 27.95 kB / 0.9146 GB, free: 7.422 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003024/0.09504, allocations: 208.3 kB / 0.9148 GB, free: 7.219 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000311/0.09535, allocations: 369 kB / 0.9151 GB, free: 6.855 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003127/0.09848, allocations: 1.849 MB / 0.917 GB, free: 4.988 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01722/0.1157, allocations: 26.23 MB / 0.9426 GB, free: 9.965 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.117, allocations: 0.892 MB / 0.9434 GB, free: 9.059 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007516/0.1178, allocations: 0.6182 MB / 0.944 GB, free: 8.438 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.787e-05/0.1178, allocations: 25.31 kB / 0.9441 GB, free: 8.414 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.1179, allocations: 58.64 kB / 0.9441 GB, free: 8.344 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=157): time 3.356e-06/0.1179, allocations: 0 / 0.9441 GB, free: 8.344 MB / 0.9011 GB Notification: Performance of matching and sorting (n=160): time 0.006216/0.1241, allocations: 3.882 MB / 0.9479 GB, free: 4.41 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.1241, allocations: 76.72 kB / 0.948 GB, free: 4.32 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.1254, allocations: 1.581 MB / 0.9495 GB, free: 2.695 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.522e-05/0.1255, allocations: 53.7 kB / 0.9496 GB, free: 2.637 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009279/0.1264, allocations: 2.242 MB / 0.9518 GB, free: 380 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000332/0.1267, allocations: 0.5888 MB / 0.9523 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003754/0.1271, allocations: 409.9 kB / 0.9527 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.815e-05/0.1272, allocations: 476.8 kB / 0.9532 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008314/0.128, allocations: 376.2 kB / 0.9536 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.129, allocations: 1.375 MB / 0.9549 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001688/0.1307, allocations: 1.914 MB / 0.9568 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.625e-06/0.1307, allocations: 4 kB / 0.9568 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.002893/0.1336, allocations: 2.373 MB / 0.9591 GB, free: 7.945 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.1336, allocations: 12.97 kB / 0.9591 GB, free: 7.934 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.1337, allocations: 24 kB / 0.9591 GB, free: 7.91 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001852/0.1355, allocations: 0.7455 MB / 0.9598 GB, free: 7.113 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008199/0.1363, allocations: 427.2 kB / 0.9603 GB, free: 6.695 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01106/0.1474, allocations: 23.09 MB / 0.9828 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008358/0.1482, allocations: 119.9 kB / 0.9829 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.1483, allocations: 92 kB / 0.983 GB, free: 13.91 MB / 0.948 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.0008401/0.1492, allocations: 310.5 kB / 0.9833 GB, free: 13.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000267/0.1494, allocations: 302.4 kB / 0.9836 GB, free: 13.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002313/0.1517, allocations: 1.712 MB / 0.9853 GB, free: 11.53 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.1517, allocations: 16 kB / 0.9853 GB, free: 11.51 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.1518, allocations: 8 kB / 0.9853 GB, free: 11.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.1518, allocations: 7.969 kB / 0.9853 GB, free: 11.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006276/0.158, allocations: 5.024 MB / 0.9902 GB, free: 6.301 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.158, allocations: 4 kB / 0.9902 GB, free: 6.297 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004832/0.1585, allocations: 219.6 kB / 0.9904 GB, free: 6.082 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001426/0.16, allocations: 0.6995 MB / 0.9911 GB, free: 5.332 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.82e-05/0.16, allocations: 32 kB / 0.9911 GB, free: 5.301 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01054/0.1706, allocations: 23.05 MB / 1.014 GB, free: 12.77 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1706, allocations: 4 kB / 1.014 GB, free: 12.77 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002509/0.1731, allocations: 2.002 MB / 1.016 GB, free: 10.61 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005512/0.1736, allocations: 442.2 kB / 1.016 GB, free: 10.18 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/0.1738, allocations: 28.14 kB / 1.016 GB, free: 10.15 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005045/0.1743, allocations: 95.88 kB / 1.016 GB, free: 10.06 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002511/0.1745, allocations: 152.9 kB / 1.016 GB, free: 9.91 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.33e-05/0.1746, allocations: 47.98 kB / 1.016 GB, free: 9.863 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.000779/0.1754, allocations: 0.8989 MB / 1.017 GB, free: 8.945 MB / 0.9792 GB Notification: Performance of sort global known variables: time 4e-08/0.1754, allocations: 0 / 1.017 GB, free: 8.945 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.00196/0.1773, allocations: 0.9062 MB / 1.018 GB, free: 8.039 MB / 0.9792 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.0001983/0.1775, allocations: 151 kB / 1.018 GB, free: 7.879 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.003035/0.1806, allocations: 3.728 MB / 1.022 GB, free: 3.941 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1806, allocations: 0 / 1.022 GB, free: 3.941 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002085/0.1827, allocations: 3.004 MB / 1.025 GB, free: 0.7188 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/0.1843, allocations: 0.7693 MB / 1.026 GB, free: 15.96 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007744/0.192, allocations: 7 MB / 1.032 GB, free: 8.82 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000927/0.1929, allocations: 1.169 MB / 1.034 GB, free: 7.625 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0007757/0.1937, allocations: 440.5 kB / 1.034 GB, free: 7.191 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002391/0.194, allocations: 132.5 kB / 1.034 GB, free: 7.062 MB / 0.9948 GB Notification: Performance of SimCode: time 1.182e-06/0.194, allocations: 0 / 1.034 GB, free: 7.062 MB / 0.9948 GB Notification: Performance of Templates: time 0.3497/0.5436, allocations: 42.75 MB / 1.076 GB, free: 263.2 MB / 1.01 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.2753181860316545]