Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.0009862/0.0009862, allocations: 85.91 kB / 19.87 MB, free: 4.625 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.0009242/0.0009242, allocations: 169.7 kB / 23.27 MB, free: 1.23 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.929/0.929, allocations: 177.1 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.27/2.27, 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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3a.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_3b.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.8898 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.435e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01696/0.01699, allocations: 13.68 MB / 0.9031 GB, free: 12 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.009648/0.02664, allocations: 4.116 MB / 0.9071 GB, free: 7.875 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002559/0.0292, allocations: 131.1 kB / 0.9073 GB, free: 7.746 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.001991/0.03119, allocations: 0.5739 MB / 0.9078 GB, free: 7.168 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.004541/0.03573, allocations: 1.725 MB / 0.9095 GB, free: 5.434 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003284/0.03901, allocations: 1.225 MB / 0.9107 GB, free: 4.207 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.01053/0.04954, allocations: 6.907 MB / 0.9175 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007271/0.05681, allocations: 3.637 MB / 0.921 GB, free: 9.539 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01014/0.06695, allocations: 4.003 MB / 0.9249 GB, free: 5.527 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005464/0.07241, allocations: 3.558 MB / 0.9284 GB, free: 1.961 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0007451/0.07316, allocations: 0.5234 MB / 0.9289 GB, free: 1.438 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.07427, allocations: 0.6793 MB / 0.9296 GB, free: 0.7578 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.001556/0.07582, allocations: 2.686 MB / 0.9322 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.001371/0.07719, allocations: 1.766 MB / 0.9339 GB, free: 12.3 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.003302/0.0805, allocations: 4.593 MB / 0.9384 GB, free: 7.691 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.0805, allocations: 0 / 0.9384 GB, free: 7.691 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.542e-06/0.0805, allocations: 4 kB / 0.9384 GB, free: 7.688 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001711/0.08067, allocations: 0 / 0.9384 GB, free: 7.688 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.005196/0.08587, allocations: 4.636 MB / 0.9429 GB, free: 2.988 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.08591, allocations: 8.625 kB / 0.9429 GB, free: 2.98 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003724/0.08963, allocations: 1.532 MB / 0.9444 GB, free: 1.445 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002344/0.09198, allocations: 2.242 MB / 0.9466 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.0921, allocations: 279.7 kB / 0.9469 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003667/0.09247, allocations: 368.2 kB / 0.9472 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003934/0.09641, allocations: 3.815 MB / 0.951 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.19e-05/0.09647, allocations: 16.05 kB / 0.951 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002588/0.09673, allocations: 156.3 kB / 0.9511 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003433/0.09707, allocations: 491.3 kB / 0.9516 GB, free: 9.652 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001894/0.09896, allocations: 1.261 MB / 0.9528 GB, free: 8.387 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01309/0.1121, allocations: 19.88 MB / 0.9722 GB, free: 3.969 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006815/0.1127, allocations: 0.6582 MB / 0.9729 GB, free: 3.293 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007124/0.1135, allocations: 0.7171 MB / 0.9736 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 9.888e-05/0.1135, allocations: 25.31 kB / 0.9736 GB, free: 2.547 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.1136, allocations: 58.64 kB / 0.9737 GB, free: 2.477 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=146): time 2.525e-06/0.1136, allocations: 0 / 0.9737 GB, free: 2.477 MB / 0.9323 GB Notification: Performance of matching and sorting (n=251): time 0.0257/0.1393, allocations: 13.89 MB / 0.9872 GB, free: 4.551 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.1393, allocations: 81.34 kB / 0.9873 GB, free: 4.461 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008823/0.1402, allocations: 1.405 MB / 0.9887 GB, free: 3.047 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001399/0.1403, allocations: 65.7 kB / 0.9887 GB, free: 2.977 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009316/0.1413, allocations: 1.896 MB / 0.9906 GB, free: 1.059 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005598/0.1418, allocations: 0.914 MB / 0.9915 GB, free: 140 kB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005998/0.1424, allocations: 463.7 kB / 0.9919 GB, free: 15.68 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1425, allocations: 480.7 kB / 0.9924 GB, free: 15.2 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007545/0.1433, allocations: 0.5477 MB / 0.9929 GB, free: 14.65 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.1444, allocations: 1.404 MB / 0.9943 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002187/0.1466, allocations: 2.182 MB / 0.9964 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.856e-06/0.1466, allocations: 7.938 kB / 0.9964 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.01298/0.1595, allocations: 6.908 MB / 1.003 GB, free: 3.441 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/0.1596, allocations: 14.19 kB / 1.003 GB, free: 3.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.592e-05/0.1596, allocations: 16 kB / 1.003 GB, free: 3.414 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01358/0.1732, allocations: 5.661 MB / 1.009 GB, free: 13.73 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006578/0.1738, allocations: 283.4 kB / 1.009 GB, free: 13.45 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02745/0.2013, allocations: 24.01 MB / 1.032 GB, free: 4.73 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/0.2027, allocations: 68 kB / 1.033 GB, free: 4.664 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/0.2029, allocations: 80 kB / 1.033 GB, free: 4.586 MB / 0.9948 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 (157): * Single equations (assignments): 151 * 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 {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008829/0.2037, allocations: 296.1 kB / 1.033 GB, free: 4.285 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000404/0.2041, allocations: 322.5 kB / 1.033 GB, free: 3.969 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01188/0.216, allocations: 6.993 MB / 1.04 GB, free: 12.91 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/0.216, allocations: 24 kB / 1.04 GB, free: 12.89 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.79e-05/0.2161, allocations: 48 kB / 1.04 GB, free: 12.84 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.824e-05/0.2162, allocations: 11.95 kB / 1.04 GB, free: 12.83 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01666/0.2328, allocations: 9.664 MB / 1.05 GB, free: 2.973 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.626e-05/0.2328, allocations: 8.156 kB / 1.05 GB, free: 2.965 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004064/0.2332, allocations: 143.7 kB / 1.05 GB, free: 2.824 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3995/0.6328, allocations: 5.463 MB / 1.055 GB, free: 164.5 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003697/0.6331, allocations: 48.69 kB / 1.055 GB, free: 164.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02401/0.6571, allocations: 23.92 MB / 1.078 GB, free: 153.8 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.6571, allocations: 7.531 kB / 1.078 GB, free: 153.8 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0115/0.6686, allocations: 6.931 MB / 1.085 GB, free: 152.7 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009908/0.6696, allocations: 0.5824 MB / 1.086 GB, free: 152.6 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002206/0.6699, allocations: 54.86 kB / 1.086 GB, free: 152.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007654/0.6706, allocations: 42.34 kB / 1.086 GB, free: 152.6 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009345/0.6716, allocations: 261.2 kB / 1.086 GB, free: 152.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/0.6717, allocations: 51.53 kB / 1.086 GB, free: 152.6 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0005955/0.6723, allocations: 0.7612 MB / 1.087 GB, free: 152.4 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.6723, allocations: 2.625 kB / 1.087 GB, free: 152.4 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.003441/0.6757, allocations: 1.612 MB / 1.088 GB, free: 152.4 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 (80): * Single equations (assignments): 74 * 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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002839/0.676, allocations: 159.9 kB / 1.089 GB, free: 152.3 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.009477/0.6855, allocations: 6.07 MB / 1.095 GB, free: 150.7 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 7.774e-06/0.6855, allocations: 2.531 kB / 1.095 GB, free: 150.7 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.008038/0.6935, allocations: 5.036 MB / 1.099 GB, free: 149.1 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001836/0.6954, allocations: 0.5452 MB / 1.1 GB, free: 149.1 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/0.7061, allocations: 7.441 MB / 1.107 GB, free: 145.9 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001677/0.7078, allocations: 1.298 MB / 1.109 GB, free: 145.6 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006867/0.7085, allocations: 196.3 kB / 1.109 GB, free: 145.5 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007039/0.7092, allocations: 461.8 kB / 1.109 GB, free: 145.4 MB / 1.01 GB Notification: Performance of SimCode: time 1.372e-06/0.7092, allocations: 0 / 1.109 GB, free: 145.4 MB / 1.01 GB Notification: Performance of Templates: time 0.09723/0.8064, allocations: 102 MB / 1.209 GB, free: 75.42 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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.760483999736607]