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.001594/0.001594, 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.001578/0.001578, allocations: 169 kB / 23.02 MB, free: 1.551 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.9908/0.9908, allocations: 177.1 MB / 203.4 MB, free: 5.664 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.056/2.056, allocations: 429.5 MB / 0.6732 GB, free: 4.07 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.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 2.264e-06/2.264e-06, allocations: 4 kB / 0.8782 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.167e-05/1.394e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01033/0.01034, allocations: 14.05 MB / 0.8919 GB, free: 8.238 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.006188/0.01653, allocations: 4.132 MB / 0.896 GB, free: 4.113 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008505/0.01738, allocations: 127.1 kB / 0.8961 GB, free: 3.988 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0009202/0.0183, allocations: 0.5745 MB / 0.8966 GB, free: 3.41 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001967/0.02027, allocations: 1.722 MB / 0.8983 GB, free: 1.68 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001565/0.02183, allocations: 1.221 MB / 0.8995 GB, free: 468 kB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.004847/0.02668, allocations: 6.923 MB / 0.9063 GB, free: 9.512 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003134/0.02981, allocations: 3.626 MB / 0.9098 GB, free: 5.793 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003088/0.0329, allocations: 4.003 MB / 0.9137 GB, free: 1.781 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002795/0.0357, allocations: 3.57 MB / 0.9172 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0004565/0.03615, allocations: 0.5234 MB / 0.9177 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000798/0.03695, allocations: 0.6754 MB / 0.9184 GB, free: 13 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.001478/0.03843, allocations: 2.689 MB / 0.921 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.001241/0.03967, allocations: 1.762 MB / 0.9227 GB, free: 8.543 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.003096/0.04277, allocations: 4.593 MB / 0.9272 GB, free: 3.938 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.04277, allocations: 0 / 0.9272 GB, free: 3.938 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.392e-06/0.04277, allocations: 0 / 0.9272 GB, free: 3.938 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.525e-05/0.04281, allocations: 0 / 0.9272 GB, free: 3.938 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.005561/0.04837, allocations: 4.68 MB / 0.9318 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.04841, allocations: 12.03 kB / 0.9318 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006342/0.05475, allocations: 2.163 MB / 0.9339 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003409/0.05816, allocations: 2.488 MB / 0.9363 GB, free: 10.48 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001846/0.05834, allocations: 271.7 kB / 0.9366 GB, free: 10.21 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005389/0.05888, allocations: 360.3 kB / 0.9369 GB, free: 9.863 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006423/0.06531, allocations: 4.132 MB / 0.941 GB, free: 5.328 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-05/0.06538, allocations: 20.02 kB / 0.941 GB, free: 5.309 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003645/0.06575, allocations: 156.3 kB / 0.9411 GB, free: 5.156 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005119/0.06626, allocations: 491.3 kB / 0.9416 GB, free: 4.676 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003877/0.07014, allocations: 1.598 MB / 0.9432 GB, free: 3.074 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01924/0.08937, allocations: 21.25 MB / 0.9639 GB, free: 13.27 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/0.0907, allocations: 0.7746 MB / 0.9647 GB, free: 12.48 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001379/0.09207, allocations: 0.8265 MB / 0.9655 GB, free: 11.65 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001111/0.09219, allocations: 25.31 kB / 0.9655 GB, free: 11.62 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.09222, allocations: 58.64 kB / 0.9656 GB, free: 11.56 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=146): time 4.428e-06/0.09223, allocations: 0 / 0.9656 GB, free: 11.56 MB / 0.9323 GB Notification: Performance of matching and sorting (n=251): time 0.03666/0.1289, allocations: 17.03 MB / 0.9822 GB, free: 10.48 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.1289, allocations: 77.41 kB / 0.9823 GB, free: 10.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/0.1301, allocations: 1.445 MB / 0.9837 GB, free: 8.945 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001612/0.1303, allocations: 65.7 kB / 0.9837 GB, free: 8.875 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007909/0.1311, allocations: 1.862 MB / 0.9856 GB, free: 6.992 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005487/0.1316, allocations: 0.918 MB / 0.9865 GB, free: 6.066 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006121/0.1322, allocations: 455.9 kB / 0.9869 GB, free: 5.613 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.356e-05/0.1323, allocations: 480.7 kB / 0.9873 GB, free: 5.141 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/0.1336, allocations: 0.7313 MB / 0.9881 GB, free: 4.406 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/0.1352, allocations: 1.572 MB / 0.9896 GB, free: 2.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002822/0.138, allocations: 2.514 MB / 0.9921 GB, free: 15.66 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.138, allocations: 8 kB / 0.9921 GB, free: 15.65 MB / 0.9636 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.01519/0.1532, allocations: 8.582 MB / 1 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.1532, allocations: 12 kB / 1 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.1532, allocations: 16 kB / 1 GB, free: 6.988 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0163/0.1695, allocations: 6.94 MB / 1.007 GB, free: 20 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008399/0.1704, allocations: 295.5 kB / 1.008 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03084/0.2012, allocations: 25.53 MB / 1.032 GB, free: 5.453 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/0.2027, allocations: 215.7 kB / 1.033 GB, free: 5.242 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001772/0.2028, allocations: 104 kB / 1.033 GB, free: 5.141 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.0009402/0.2038, allocations: 307.9 kB / 1.033 GB, free: 4.828 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004313/0.2042, allocations: 322.5 kB / 1.033 GB, free: 4.512 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01466/0.2189, allocations: 8.623 MB / 1.042 GB, free: 11.83 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/0.2189, allocations: 24 kB / 1.042 GB, free: 11.8 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.741e-05/0.219, allocations: 48 kB / 1.042 GB, free: 11.76 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.899e-05/0.219, allocations: 15.89 kB / 1.042 GB, free: 11.74 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3876/0.6066, allocations: 12.39 MB / 1.054 GB, free: 167.1 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/0.6066, allocations: 5.594 kB / 1.054 GB, free: 167.1 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004535/0.6071, allocations: 165.2 kB / 1.054 GB, free: 167.1 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01536/0.6224, allocations: 6.733 MB / 1.061 GB, free: 167.1 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002533/0.6227, allocations: 48.41 kB / 1.061 GB, free: 167.1 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02814/0.6508, allocations: 25.41 MB / 1.086 GB, free: 156.6 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.6508, allocations: 10.75 kB / 1.086 GB, free: 156.6 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01695/0.6678, allocations: 8.554 MB / 1.094 GB, free: 155.5 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001346/0.6691, allocations: 0.7127 MB / 1.095 GB, free: 155.4 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002952/0.6694, allocations: 50.64 kB / 1.095 GB, free: 155.4 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/0.6705, allocations: 207 kB / 1.095 GB, free: 155.4 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001248/0.6718, allocations: 258.9 kB / 1.095 GB, free: 155.4 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001568/0.6719, allocations: 67.16 kB / 1.095 GB, free: 155.4 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0009307/0.6728, allocations: 0.8233 MB / 1.096 GB, free: 155.2 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6728, allocations: 0 / 1.096 GB, free: 155.2 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.003455/0.6763, allocations: 1.615 MB / 1.098 GB, free: 155.2 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.0003058/0.6766, allocations: 163.8 kB / 1.098 GB, free: 155.2 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01132/0.6879, allocations: 6.783 MB / 1.104 GB, free: 153.5 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.6879, allocations: 1.531 kB / 1.104 GB, free: 153.5 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.008605/0.6965, allocations: 5.569 MB / 1.11 GB, free: 151.7 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001624/0.6982, allocations: 0.5525 MB / 1.11 GB, free: 151.5 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009556/0.7077, allocations: 7.501 MB / 1.118 GB, free: 147.9 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001368/0.7091, allocations: 1.293 MB / 1.119 GB, free: 147.5 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000614/0.7097, allocations: 318.7 kB / 1.119 GB, free: 147.4 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/0.7099, allocations: 93.66 kB / 1.119 GB, free: 147.4 MB / 1.01 GB Notification: Performance of SimCode: time 1.623e-06/0.7099, allocations: 0 / 1.119 GB, free: 147.4 MB / 1.01 GB Notification: Performance of Templates: time 0.079/0.7889, allocations: 101.7 MB / 1.219 GB, free: 75.8 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.990190792363137]