Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.001447/0.001447, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001587/0.001587, allocations: 166 kB / 24.87 MB, free: 9.258 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.9634/0.9634, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.842/1.842, allocations: 377.9 MB / 0.6247 GB, free: 8.43 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_L,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.8128 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.316e-05/1.437e-05, allocations: 6.25 kB / 0.8128 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.01239/0.01241, allocations: 16.97 MB / 0.8294 GB, free: 424 kB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.006054/0.01846, allocations: 5.089 MB / 0.8343 GB, free: 11.34 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007419/0.0192, allocations: 199.8 kB / 0.8345 GB, free: 11.14 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.02029, allocations: 0.7407 MB / 0.8353 GB, free: 10.39 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.00163/0.02192, allocations: 1.658 MB / 0.8369 GB, free: 8.738 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.001523/0.02344, allocations: 1.566 MB / 0.8384 GB, free: 7.176 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.004481/0.02792, allocations: 7.34 MB / 0.8456 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004256/0.03218, allocations: 5.089 MB / 0.8505 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003466/0.03564, allocations: 4.558 MB / 0.855 GB, free: 6.039 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003251/0.0389, allocations: 3.543 MB / 0.8585 GB, free: 2.488 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0005744/0.03947, allocations: 0.6445 MB / 0.8591 GB, free: 1.844 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008037/0.04027, allocations: 0.7396 MB / 0.8598 GB, free: 1.105 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.001832/0.04211, allocations: 2.759 MB / 0.8625 GB, free: 14.34 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001527/0.04363, allocations: 2.027 MB / 0.8645 GB, free: 12.31 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.003465/0.0471, allocations: 5.033 MB / 0.8694 GB, free: 7.262 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.0471, allocations: 4 kB / 0.8694 GB, free: 7.258 MB / 0.823 GB Notification: Performance of FrontEnd: time 8.11e-07/0.0471, allocations: 0 / 0.8694 GB, free: 7.258 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.957e-05/0.04716, allocations: 0 / 0.8694 GB, free: 7.258 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.004541/0.0517, allocations: 5.165 MB / 0.8744 GB, free: 2.023 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.05173, allocations: 8.031 kB / 0.8745 GB, free: 2.016 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00246/0.05419, allocations: 1.351 MB / 0.8758 GB, free: 0.6602 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002928/0.05712, allocations: 2.683 MB / 0.8784 GB, free: 13.91 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001601/0.05728, allocations: 353.7 kB / 0.8787 GB, free: 13.56 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004366/0.05772, allocations: 468.3 kB / 0.8792 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004344/0.06206, allocations: 4.462 MB / 0.8835 GB, free: 8.109 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.471e-05/0.06215, allocations: 23.95 kB / 0.8836 GB, free: 8.086 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002884/0.06243, allocations: 204.3 kB / 0.8838 GB, free: 7.887 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002103/0.06265, allocations: 316.9 kB / 0.8841 GB, free: 7.574 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00182/0.06447, allocations: 1.395 MB / 0.8854 GB, free: 6.156 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01456/0.07903, allocations: 23.97 MB / 0.9088 GB, free: 13.43 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008154/0.07984, allocations: 0.696 MB / 0.9095 GB, free: 12.72 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004088/0.08025, allocations: 446.4 kB / 0.9099 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.679e-05/0.08031, allocations: 25.31 kB / 0.91 GB, free: 12.27 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.08034, allocations: 50.7 kB / 0.91 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=133): time 2.935e-06/0.08034, allocations: 0 / 0.91 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=136): time 0.005413/0.08575, allocations: 3.011 MB / 0.9129 GB, free: 9.141 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.08579, allocations: 80.64 kB / 0.913 GB, free: 9.047 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008301/0.08662, allocations: 1.31 MB / 0.9143 GB, free: 7.723 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.682e-05/0.08668, allocations: 49.7 kB / 0.9143 GB, free: 7.668 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008586/0.08754, allocations: 2.119 MB / 0.9164 GB, free: 5.531 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002765/0.08781, allocations: 0.5152 MB / 0.9169 GB, free: 5.012 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003161/0.08813, allocations: 360.9 kB / 0.9173 GB, free: 4.652 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.08824, allocations: 480.7 kB / 0.9177 GB, free: 4.18 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002718/0.08851, allocations: 239.8 kB / 0.918 GB, free: 3.945 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.08953, allocations: 1.228 MB / 0.9191 GB, free: 2.293 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.09071, allocations: 1.642 MB / 0.9208 GB, free: 232 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.216e-06/0.09072, allocations: 8 kB / 0.9208 GB, free: 224 kB / 0.8698 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.002222/0.09294, allocations: 1.983 MB / 0.9227 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.09296, allocations: 16 kB / 0.9227 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/0.09298, allocations: 27.98 kB / 0.9227 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/0.09429, allocations: 0.6835 MB / 0.9234 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005565/0.09484, allocations: 315.4 kB / 0.9237 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0106/0.1054, allocations: 23.36 MB / 0.9465 GB, free: 4.367 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000567/0.106, allocations: 60.06 kB / 0.9466 GB, free: 4.309 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.486e-05/0.1061, allocations: 72 kB / 0.9466 GB, free: 4.238 MB / 0.9011 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 (185): * 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: 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 {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.0007271/0.1068, allocations: 283.9 kB / 0.9469 GB, free: 3.949 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/0.107, allocations: 242.7 kB / 0.9471 GB, free: 3.711 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001772/0.1088, allocations: 1.477 MB / 0.9486 GB, free: 2.164 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.1088, allocations: 20.14 kB / 0.9486 GB, free: 2.145 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.1088, allocations: 8 kB / 0.9486 GB, free: 2.137 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.609e-06/0.1088, allocations: 11.95 kB / 0.9486 GB, free: 2.125 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004462/0.1133, allocations: 3.669 MB / 0.9522 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.1133, allocations: 4 kB / 0.9522 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003487/0.1136, allocations: 140.4 kB / 0.9523 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001479/0.1151, allocations: 0.6246 MB / 0.953 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.178e-05/0.1151, allocations: 28 kB / 0.953 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009796/0.1249, allocations: 22.31 MB / 0.9748 GB, free: 5.762 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.1249, allocations: 7.938 kB / 0.9748 GB, free: 5.754 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001843/0.1268, allocations: 1.733 MB / 0.9765 GB, free: 3.871 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003932/0.1272, allocations: 326.6 kB / 0.9768 GB, free: 3.551 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.1273, allocations: 24 kB / 0.9768 GB, free: 3.527 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003426/0.1276, allocations: 27.94 kB / 0.9768 GB, free: 3.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002062/0.1279, allocations: 136.6 kB / 0.977 GB, free: 3.363 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-05/0.1279, allocations: 32 kB / 0.977 GB, free: 3.332 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0004558/0.1284, allocations: 0.7025 MB / 0.9777 GB, free: 2.637 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.1284, allocations: 0 / 0.9777 GB, free: 2.637 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00174/0.1301, allocations: 0.793 MB / 0.9785 GB, free: 1.844 MB / 0.9323 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 (91): * Single equations (assignments): 79 * 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,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,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001728/0.1303, allocations: 143 kB / 0.9786 GB, free: 1.691 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00262/0.1329, allocations: 3.397 MB / 0.9819 GB, free: 14.09 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.1329, allocations: 0 / 0.9819 GB, free: 14.09 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001584/0.1345, allocations: 2.794 MB / 0.9846 GB, free: 11.08 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/0.136, allocations: 0.716 MB / 0.9853 GB, free: 10.39 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006547/0.1425, allocations: 6.56 MB / 0.9917 GB, free: 3.684 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008383/0.1434, allocations: 1.132 MB / 0.9928 GB, free: 2.523 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004793/0.1438, allocations: 241.5 kB / 0.9931 GB, free: 2.285 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007571/0.1446, allocations: 0.5681 MB / 0.9936 GB, free: 1.715 MB / 0.948 GB Notification: Performance of SimCode: time 7.32e-07/0.1446, allocations: 4 kB / 0.9936 GB, free: 1.711 MB / 0.948 GB Notification: Performance of Templates: time 0.04596/0.1906, allocations: 39.6 MB / 1.032 GB, free: 10.94 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.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.013490687124431]