Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.001396/0.001396, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001534/0.001534, allocations: 169 kB / 23.02 MB, free: 1.555 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 1.011/1.011, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.139/2.139, allocations: 429.5 MB / 0.6732 GB, free: 4.051 MB / 0.6355 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_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_3.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.|load_sc_3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.[0-9,]+.|load_sc_2.load1.v.[0-9,]+.|load_sc_3.load1.v.[0-9,]+.|load_sc_1.load1.i.[0-9,]+.|load_sc_2.load1.i.[0-9,]+.|load_sc_3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.122e-05/3.303e-05, allocations: 5.469 kB / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02121/0.02125, allocations: 15.5 MB / 0.8933 GB, free: 6.758 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.008018/0.02926, allocations: 4.498 MB / 0.8977 GB, free: 2.266 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002189/0.03145, allocations: 154.8 kB / 0.8979 GB, free: 2.113 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001544/0.033, allocations: 0.6321 MB / 0.8985 GB, free: 1.477 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002881/0.03588, allocations: 1.46 MB / 0.8999 GB, free: 8 kB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002637/0.03851, allocations: 1.314 MB / 0.9012 GB, free: 14.69 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.006285/0.0448, allocations: 6.161 MB / 0.9072 GB, free: 8.508 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004435/0.04923, allocations: 3.773 MB / 0.9109 GB, free: 4.648 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004761/0.054, allocations: 3.696 MB / 0.9145 GB, free: 0.9453 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003424/0.05742, allocations: 2.814 MB / 0.9173 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.000841/0.05826, allocations: 0.5078 MB / 0.9178 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001075/0.05934, allocations: 0.6013 MB / 0.9184 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.001589/0.06092, allocations: 2.237 MB / 0.9205 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.002024/0.06295, allocations: 1.68 MB / 0.9222 GB, free: 9.09 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.004066/0.06701, allocations: 4.121 MB / 0.9262 GB, free: 4.957 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.06702, allocations: 0 / 0.9262 GB, free: 4.957 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.533e-06/0.06702, allocations: 0 / 0.9262 GB, free: 4.957 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.462e-05/0.06711, allocations: 0 / 0.9262 GB, free: 4.957 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.006363/0.07347, allocations: 4.385 MB / 0.9305 GB, free: 0.5117 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.708e-05/0.07354, allocations: 8.031 kB / 0.9305 GB, free: 0.5039 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003312/0.07685, allocations: 1.263 MB / 0.9317 GB, free: 15.24 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00332/0.08017, allocations: 2.524 MB / 0.9342 GB, free: 12.65 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.0803, allocations: 271.6 kB / 0.9345 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004545/0.08075, allocations: 380.8 kB / 0.9348 GB, free: 12.01 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004992/0.08575, allocations: 3.983 MB / 0.9387 GB, free: 7.578 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.067e-05/0.08582, allocations: 15.83 kB / 0.9387 GB, free: 7.562 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002401/0.08606, allocations: 160 kB / 0.9389 GB, free: 7.406 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000348/0.08641, allocations: 282.9 kB / 0.9391 GB, free: 7.129 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002802/0.08921, allocations: 1.411 MB / 0.9405 GB, free: 5.711 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01596/0.1052, allocations: 19.81 MB / 0.9599 GB, free: 1.277 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007414/0.1059, allocations: 470.1 kB / 0.9603 GB, free: 0.8125 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000532/0.1064, allocations: 403.2 kB / 0.9607 GB, free: 428 kB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 5.719e-05/0.1065, allocations: 17 kB / 0.9607 GB, free: 408 kB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.1065, allocations: 50.39 kB / 0.9608 GB, free: 348 kB / 0.9167 GB Notification: Performance of pre-optimization done (n=110): time 4.469e-06/0.1065, allocations: 0 / 0.9608 GB, free: 348 kB / 0.9167 GB Notification: Performance of matching and sorting (n=131): time 0.008706/0.1152, allocations: 4.896 MB / 0.9655 GB, free: 11.38 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.1153, allocations: 64.72 kB / 0.9656 GB, free: 11.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/0.1165, allocations: 1.304 MB / 0.9669 GB, free: 9.984 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 7.757e-05/0.1166, allocations: 49.7 kB / 0.9669 GB, free: 9.93 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007801/0.1174, allocations: 1.777 MB / 0.9687 GB, free: 8.137 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003033/0.1177, allocations: 0.492 MB / 0.9691 GB, free: 7.641 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003478/0.118, allocations: 337 kB / 0.9695 GB, free: 7.305 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.963e-05/0.1181, allocations: 476.8 kB / 0.9699 GB, free: 6.836 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000527/0.1187, allocations: 335.8 kB / 0.9702 GB, free: 6.508 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008547/0.1195, allocations: 1.097 MB / 0.9713 GB, free: 5.078 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/0.1211, allocations: 1.567 MB / 0.9728 GB, free: 3.184 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/0.1211, allocations: 8 kB / 0.9728 GB, free: 3.176 MB / 0.9323 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002894/0.124, allocations: 1.984 MB / 0.9748 GB, free: 1.145 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.124, allocations: 12 kB / 0.9748 GB, free: 1.133 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/0.124, allocations: 23.94 kB / 0.9748 GB, free: 1.109 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001394/0.1254, allocations: 0.5672 MB / 0.9754 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008887/0.1263, allocations: 391.4 kB / 0.9757 GB, free: 124 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009151/0.1355, allocations: 17.11 MB / 0.9925 GB, free: 13.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.1365, allocations: 99.89 kB / 0.9926 GB, free: 13.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/0.1366, allocations: 80.06 kB / 0.9926 GB, free: 13.73 MB / 0.9636 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008112/0.1374, allocations: 268 kB / 0.9929 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002824/0.1377, allocations: 238.8 kB / 0.9931 GB, free: 13.22 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002268/0.14, allocations: 1.521 MB / 0.9946 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.14, allocations: 12 kB / 0.9946 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.14, allocations: 8 kB / 0.9946 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.14, allocations: 11.97 kB / 0.9946 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005781/0.1458, allocations: 4.183 MB / 0.9987 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.1458, allocations: 4.094 kB / 0.9987 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006469/0.1464, allocations: 239.6 kB / 0.9989 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001237/0.1477, allocations: 0.5321 MB / 0.9995 GB, free: 6.434 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-05/0.1478, allocations: 35.98 kB / 0.9995 GB, free: 6.398 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008771/0.1565, allocations: 17.1 MB / 1.016 GB, free: 4.195 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.1565, allocations: 4 kB / 1.016 GB, free: 4.191 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003015/0.1596, allocations: 2.08 MB / 1.018 GB, free: 1.961 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006504/0.1602, allocations: 358.6 kB / 1.019 GB, free: 1.609 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/0.1603, allocations: 35.94 kB / 1.019 GB, free: 1.574 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004828/0.1608, allocations: 79.89 kB / 1.019 GB, free: 1.496 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002564/0.1611, allocations: 120.7 kB / 1.019 GB, free: 1.375 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.822e-05/0.1611, allocations: 36 kB / 1.019 GB, free: 1.34 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0007586/0.1619, allocations: 0.7485 MB / 1.02 GB, free: 0.5977 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.1619, allocations: 0 / 1.02 GB, free: 0.5977 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.00182/0.1637, allocations: 0.6915 MB / 1.02 GB, free: 15.9 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002372/0.164, allocations: 150.9 kB / 1.02 GB, free: 15.75 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003013/0.167, allocations: 2.863 MB / 1.023 GB, free: 12.73 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.167, allocations: 0 / 1.023 GB, free: 12.73 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001836/0.1688, allocations: 2.263 MB / 1.025 GB, free: 10.3 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001815/0.1706, allocations: 0.6261 MB / 1.026 GB, free: 9.699 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008046/0.1787, allocations: 5.843 MB / 1.032 GB, free: 3.719 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008597/0.1795, allocations: 0.9364 MB / 1.033 GB, free: 2.758 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001035/0.1806, allocations: 396.4 kB / 1.033 GB, free: 2.367 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002459/0.1808, allocations: 112.5 kB / 1.033 GB, free: 2.254 MB / 0.9948 GB Notification: Performance of SimCode: time 2.134e-06/0.1808, allocations: 0 / 1.033 GB, free: 2.254 MB / 0.9948 GB Notification: Performance of Templates: time 0.3956/0.5764, allocations: 33.97 MB / 1.066 GB, free: 178.6 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.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.513834769371897]