Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.001341/0.001341, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001441/0.001441, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.9135/0.9135, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.284/2.284, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.8898 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.105e-05/2.261e-05, allocations: 5.266 kB / 0.8898 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.0144/0.01442, allocations: 19.84 MB / 0.9091 GB, free: 5.805 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01303/0.02746, allocations: 10.02 MB / 0.9189 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0028/0.03026, allocations: 210.4 kB / 0.9191 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.002374/0.03263, allocations: 0.8645 MB / 0.92 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.005938/0.03857, allocations: 2.833 MB / 0.9227 GB, free: 7.824 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.003709/0.04228, allocations: 1.829 MB / 0.9245 GB, free: 5.992 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.009732/0.05201, allocations: 8.899 MB / 0.9332 GB, free: 13.06 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006972/0.05898, allocations: 5.386 MB / 0.9385 GB, free: 7.547 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009242/0.06822, allocations: 5.688 MB / 0.944 GB, free: 1.848 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005394/0.07362, allocations: 3.944 MB / 0.9479 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.001456/0.07508, allocations: 0.707 MB / 0.9486 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002088/0.07716, allocations: 0.8044 MB / 0.9494 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.002873/0.08004, allocations: 3.048 MB / 0.9523 GB, free: 9.328 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.004091/0.08413, allocations: 2.362 MB / 0.9546 GB, free: 6.961 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.00628/0.09041, allocations: 5.738 MB / 0.9602 GB, free: 1.203 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.09041, allocations: 0 / 0.9602 GB, free: 1.203 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.593e-06/0.09042, allocations: 0 / 0.9602 GB, free: 1.203 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0002273/0.09064, allocations: 0 / 0.9602 GB, free: 1.203 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.007141/0.09778, allocations: 6.117 MB / 0.9662 GB, free: 11.01 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.09783, allocations: 12.62 kB / 0.9662 GB, free: 11 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003396/0.1012, allocations: 1.628 MB / 0.9678 GB, free: 9.367 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004399/0.1056, allocations: 3.091 MB / 0.9708 GB, free: 6.191 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002063/0.1058, allocations: 374.4 kB / 0.9712 GB, free: 5.824 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005827/0.1064, allocations: 0.4964 MB / 0.9717 GB, free: 5.328 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005966/0.1124, allocations: 4.963 MB / 0.9765 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001063/0.1125, allocations: 23.77 kB / 0.9765 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003355/0.1128, allocations: 216 kB / 0.9767 GB, free: 15.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005301/0.1133, allocations: 365.6 kB / 0.9771 GB, free: 15.25 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002667/0.116, allocations: 1.495 MB / 0.9786 GB, free: 13.73 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02164/0.1377, allocations: 21.52 MB / 0.9996 GB, free: 7.656 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.1387, allocations: 0.7975 MB / 1 GB, free: 6.844 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000716/0.1394, allocations: 0.6931 MB / 1.001 GB, free: 6.148 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.501e-05/0.1395, allocations: 30 kB / 1.001 GB, free: 6.121 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.1395, allocations: 55.39 kB / 1.001 GB, free: 6.055 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=171): time 4.368e-06/0.1396, allocations: 0 / 1.001 GB, free: 6.055 MB / 0.9636 GB Notification: Performance of matching and sorting (n=276): time 0.01371/0.1533, allocations: 7.775 MB / 1.009 GB, free: 14.26 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.1533, allocations: 85.56 kB / 1.009 GB, free: 14.16 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/0.1549, allocations: 1.813 MB / 1.011 GB, free: 12.32 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001805/0.1551, allocations: 73.7 kB / 1.011 GB, free: 12.25 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001087/0.1562, allocations: 2.427 MB / 1.013 GB, free: 9.793 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006395/0.1568, allocations: 1.015 MB / 1.014 GB, free: 8.77 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007471/0.1576, allocations: 0.5285 MB / 1.015 GB, free: 8.227 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.603e-05/0.1577, allocations: 476.8 kB / 1.015 GB, free: 7.758 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005962/0.1583, allocations: 0.5015 MB / 1.015 GB, free: 7.254 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/0.1593, allocations: 1.393 MB / 1.017 GB, free: 5.523 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001906/0.1612, allocations: 2.131 MB / 1.019 GB, free: 3.031 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/0.1613, allocations: 4 kB / 1.019 GB, free: 3.027 MB / 0.9792 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.005775/0.167, allocations: 3.821 MB / 1.023 GB, free: 15.13 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/0.1671, allocations: 16 kB / 1.023 GB, free: 15.12 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-05/0.1671, allocations: 16 kB / 1.023 GB, free: 15.1 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005412/0.1725, allocations: 2.516 MB / 1.025 GB, free: 12.56 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009033/0.1734, allocations: 363.4 kB / 1.025 GB, free: 12.21 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01709/0.1905, allocations: 19.53 MB / 1.045 GB, free: 8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/0.1925, allocations: 87.92 kB / 1.045 GB, free: 7.914 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001719/0.1926, allocations: 84 kB / 1.045 GB, free: 7.832 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001252/0.1939, allocations: 320 kB / 1.045 GB, free: 7.508 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005933/0.1945, allocations: 406.1 kB / 1.045 GB, free: 7.109 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005265/0.1997, allocations: 3.524 MB / 1.049 GB, free: 3.496 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.901e-05/0.1998, allocations: 28 kB / 1.049 GB, free: 3.469 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.082e-05/0.1998, allocations: 28 kB / 1.049 GB, free: 3.441 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-05/0.1998, allocations: 11.95 kB / 1.049 GB, free: 3.43 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4051/0.6049, allocations: 6.416 MB / 1.055 GB, free: 154.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/0.605, allocations: 5.594 kB / 1.055 GB, free: 154.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005496/0.6055, allocations: 184.8 kB / 1.055 GB, free: 154.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006235/0.6117, allocations: 2.326 MB / 1.058 GB, free: 154.7 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001835/0.6119, allocations: 53.61 kB / 1.058 GB, free: 154.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01403/0.626, allocations: 19.37 MB / 1.077 GB, free: 144.3 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.626, allocations: 9.281 kB / 1.077 GB, free: 144.3 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004883/0.6308, allocations: 3.602 MB / 1.08 GB, free: 143.2 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000999/0.6318, allocations: 0.5778 MB / 1.081 GB, free: 143.1 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002132/0.6321, allocations: 58.69 kB / 1.081 GB, free: 143.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006742/0.6327, allocations: 56.38 kB / 1.081 GB, free: 143.1 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007135/0.6334, allocations: 261.5 kB / 1.081 GB, free: 143.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.6336, allocations: 61.47 kB / 1.081 GB, free: 143.1 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0007567/0.6343, allocations: 0.9817 MB / 1.082 GB, free: 142.9 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6343, allocations: 0 / 1.082 GB, free: 142.9 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002979/0.6373, allocations: 1.379 MB / 1.083 GB, free: 142.9 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002818/0.6376, allocations: 176.3 kB / 1.084 GB, free: 142.8 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.004807/0.6424, allocations: 4.307 MB / 1.088 GB, free: 141.3 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.6424, allocations: 2.875 kB / 1.088 GB, free: 141.3 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.003486/0.6459, allocations: 3.398 MB / 1.091 GB, free: 140 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002905/0.6488, allocations: 1.016 MB / 1.092 GB, free: 139.9 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01236/0.6611, allocations: 8.814 MB / 1.101 GB, free: 136.4 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001706/0.6628, allocations: 1.421 MB / 1.102 GB, free: 136.2 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.00133/0.6642, allocations: 345.2 kB / 1.102 GB, free: 136.1 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001391/0.6656, allocations: 0.8635 MB / 1.103 GB, free: 136 MB / 1.01 GB Notification: Performance of SimCode: time 1.943e-06/0.6656, allocations: 3.281 kB / 1.103 GB, free: 136 MB / 1.01 GB Notification: Performance of Templates: time 0.09003/0.7556, allocations: 80.51 MB / 1.182 GB, free: 94.93 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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: 6.997475670650601]