Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.0009004/0.0009004, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001015/0.001015, allocations: 181 kB / 24.09 MB, free: 420 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.892/0.892, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.711/1.711, allocations: 359 MB / 0.6055 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.[0-9,]+..v.[0-9,]+.|L2.terminal.phase.[0-9,]+..v.[0-9,]+.|L3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|L1.load1.i.[0-9,]+.|L2.load1.i.[0-9,]+.|L3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.[0-9,]+..v.[0-9,]+.|L2.terminal.phase.[0-9,]+..v.[0-9,]+.|L3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|L1.load1.i.[0-9,]+.|L2.load1.i.[0-9,]+.|L3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.258e-05/1.388e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.01258/0.0126, allocations: 17.8 MB / 0.805 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.006945/0.01954, allocations: 5.565 MB / 0.8104 GB, free: 4.766 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009486/0.02049, allocations: 206.5 kB / 0.8106 GB, free: 4.562 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001173/0.02167, allocations: 0.8183 MB / 0.8114 GB, free: 3.738 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001894/0.02356, allocations: 1.788 MB / 0.8131 GB, free: 1.953 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001829/0.02539, allocations: 1.746 MB / 0.8148 GB, free: 212 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.005149/0.03054, allocations: 8.471 MB / 0.8231 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005284/0.03582, allocations: 6.022 MB / 0.829 GB, free: 1.57 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004547/0.04037, allocations: 5.36 MB / 0.8342 GB, free: 12.2 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003673/0.04404, allocations: 4.27 MB / 0.8384 GB, free: 7.926 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0007268/0.04477, allocations: 0.778 MB / 0.8392 GB, free: 7.148 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009929/0.04576, allocations: 0.8715 MB / 0.84 GB, free: 6.277 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.002013/0.04777, allocations: 3.309 MB / 0.8432 GB, free: 2.961 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.00173/0.0495, allocations: 2.404 MB / 0.8456 GB, free: 0.5547 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.004143/0.05365, allocations: 5.965 MB / 0.8514 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.05365, allocations: 0 / 0.8514 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.02e-07/0.05365, allocations: 0 / 0.8514 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.74e-05/0.05373, allocations: 0 / 0.8514 GB, free: 10.57 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.00574/0.05947, allocations: 5.974 MB / 0.8572 GB, free: 4.531 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.05952, allocations: 12.03 kB / 0.8573 GB, free: 4.52 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002717/0.06223, allocations: 1.565 MB / 0.8588 GB, free: 2.949 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002792/0.06503, allocations: 2.984 MB / 0.8617 GB, free: 15.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001943/0.06522, allocations: 419.4 kB / 0.8621 GB, free: 15.49 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005066/0.06573, allocations: 0.5471 MB / 0.8626 GB, free: 14.95 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004985/0.07071, allocations: 5.092 MB / 0.8676 GB, free: 9.352 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.889e-05/0.0708, allocations: 35.94 kB / 0.8676 GB, free: 9.316 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003348/0.07113, allocations: 240.3 kB / 0.8679 GB, free: 9.082 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002356/0.07137, allocations: 354.7 kB / 0.8682 GB, free: 8.734 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002418/0.07379, allocations: 1.611 MB / 0.8698 GB, free: 7.113 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01754/0.09133, allocations: 25.61 MB / 0.8948 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.09245, allocations: 1.13 MB / 0.8959 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007403/0.09319, allocations: 0.7749 MB / 0.8966 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.355e-05/0.09327, allocations: 33.94 kB / 0.8967 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.0933, allocations: 59.39 kB / 0.8967 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=179): time 3.657e-06/0.0933, allocations: 0 / 0.8967 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of matching and sorting (n=182): time 0.00994/0.1032, allocations: 5.34 MB / 0.902 GB, free: 5.43 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.1033, allocations: 73.34 kB / 0.902 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008745/0.1042, allocations: 1.353 MB / 0.9033 GB, free: 3.984 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.846e-05/0.1042, allocations: 53.7 kB / 0.9034 GB, free: 3.926 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001184/0.1054, allocations: 2.381 MB / 0.9057 GB, free: 1.523 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003461/0.1057, allocations: 0.6857 MB / 0.9064 GB, free: 0.832 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003648/0.1061, allocations: 425.9 kB / 0.9068 GB, free: 416 kB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1062, allocations: 476.8 kB / 0.9072 GB, free: 15.94 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003219/0.1065, allocations: 292.2 kB / 0.9075 GB, free: 15.65 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007819/0.1073, allocations: 1.313 MB / 0.9088 GB, free: 13.89 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.1086, allocations: 1.811 MB / 0.9106 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.1086, allocations: 8 kB / 0.9106 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.002854/0.1114, allocations: 2.387 MB / 0.9129 GB, free: 9.234 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.1115, allocations: 18.28 kB / 0.9129 GB, free: 9.219 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.1115, allocations: 24 kB / 0.913 GB, free: 9.195 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001863/0.1133, allocations: 1.184 MB / 0.9141 GB, free: 8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005387/0.1139, allocations: 319.4 kB / 0.9144 GB, free: 7.688 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008949/0.1228, allocations: 12.2 MB / 0.9263 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006624/0.1235, allocations: 60 kB / 0.9264 GB, free: 11 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.659e-05/0.1236, allocations: 83.98 kB / 0.9265 GB, free: 10.91 MB / 0.8855 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008954/0.1245, allocations: 292 kB / 0.9267 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002293/0.1247, allocations: 278.6 kB / 0.927 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002196/0.1269, allocations: 1.935 MB / 0.9289 GB, free: 8.375 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.1269, allocations: 16 kB / 0.9289 GB, free: 8.359 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/0.1269, allocations: 20 kB / 0.9289 GB, free: 8.34 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.1269, allocations: 15.84 kB / 0.9289 GB, free: 8.324 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005887/0.1328, allocations: 4.567 MB / 0.9334 GB, free: 3.617 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.1328, allocations: 4 kB / 0.9334 GB, free: 3.613 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003603/0.1332, allocations: 155.7 kB / 0.9336 GB, free: 3.461 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001667/0.1348, allocations: 0.974 MB / 0.9345 GB, free: 2.477 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.44e-05/0.1349, allocations: 36 kB / 0.9345 GB, free: 2.441 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00818/0.1431, allocations: 11.41 MB / 0.9457 GB, free: 6.574 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.1431, allocations: 8 kB / 0.9457 GB, free: 6.566 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002736/0.1458, allocations: 2.178 MB / 0.9478 GB, free: 4.273 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004737/0.1463, allocations: 390.4 kB / 0.9482 GB, free: 3.891 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.1464, allocations: 35.98 kB / 0.9482 GB, free: 3.855 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003548/0.1468, allocations: 39.94 kB / 0.9483 GB, free: 3.816 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002369/0.147, allocations: 173.5 kB / 0.9484 GB, free: 3.645 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.446e-05/0.1471, allocations: 32.25 kB / 0.9485 GB, free: 3.613 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004777/0.1475, allocations: 0.7197 MB / 0.9492 GB, free: 2.902 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.1475, allocations: 0 / 0.9492 GB, free: 2.902 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002332/0.1499, allocations: 0.9961 MB / 0.9501 GB, free: 1.906 MB / 0.9011 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 (85): * 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: 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002105/0.1501, allocations: 147 kB / 0.9503 GB, free: 1.754 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002676/0.1528, allocations: 2.799 MB / 0.953 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.1528, allocations: 0 / 0.953 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.00197/0.1547, allocations: 2.075 MB / 0.955 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/0.1563, allocations: 0.766 MB / 0.9558 GB, free: 12 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008874/0.1652, allocations: 7.797 MB / 0.9634 GB, free: 4.051 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001205/0.1664, allocations: 1.353 MB / 0.9647 GB, free: 2.672 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0005805/0.167, allocations: 243.5 kB / 0.965 GB, free: 2.43 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008144/0.1678, allocations: 0.5798 MB / 0.9655 GB, free: 1.848 MB / 0.9167 GB Notification: Performance of SimCode: time 1.062e-06/0.1678, allocations: 0 / 0.9655 GB, free: 1.848 MB / 0.9167 GB Notification: Performance of Templates: time 0.0556/0.2234, allocations: 47.63 MB / 1.012 GB, free: 3.008 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.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.500949405133724]