Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.0009349/0.0009349, 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.000946/0.000946, allocations: 173 kB / 23.03 MB, free: 1.547 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.9276/0.9276, allocations: 177.2 MB / 203.4 MB, free: 5.645 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 1.956/1.956, allocations: 429.5 MB / 0.6733 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 178] 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_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.[0-9,]+..v.[0-9,]+.|R2.terminal.phase.[0-9,]+..v.[0-9,]+.|R3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.[0-9,]+..v.[0-9,]+.|R2.terminal.phase.[0-9,]+..v.[0-9,]+.|R3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.616e-06/3.616e-06, allocations: 4 kB / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.986e-05/3.347e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.0177/0.01773, allocations: 21.51 MB / 0.8992 GB, free: 0.7188 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.009659/0.02739, allocations: 6.159 MB / 0.9052 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002626/0.03002, allocations: 206.5 kB / 0.9054 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.002342/0.03236, allocations: 0.919 MB / 0.9063 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.00396/0.03632, allocations: 2.054 MB / 0.9083 GB, free: 7.363 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003343/0.03966, allocations: 1.845 MB / 0.9101 GB, free: 5.516 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.008735/0.0484, allocations: 9.321 MB / 0.9192 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008261/0.05666, allocations: 6.191 MB / 0.9253 GB, free: 5.852 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008228/0.06489, allocations: 5.751 MB / 0.9309 GB, free: 92 kB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005739/0.07063, allocations: 4.533 MB / 0.9353 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.002068/0.0727, allocations: 0.8203 MB / 0.9361 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002778/0.07547, allocations: 0.9098 MB / 0.937 GB, free: 9.816 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.004137/0.07961, allocations: 3.41 MB / 0.9403 GB, free: 6.398 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.004777/0.08439, allocations: 2.581 MB / 0.9429 GB, free: 3.812 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.007247/0.09163, allocations: 6.339 MB / 0.949 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.09164, allocations: 0 / 0.949 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.905e-06/0.09164, allocations: 0 / 0.949 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0003385/0.09198, allocations: 0 / 0.949 GB, free: 13.46 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.00909/0.1011, allocations: 6.613 MB / 0.9555 GB, free: 6.773 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.1011, allocations: 8.031 kB / 0.9555 GB, free: 6.766 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003042/0.1042, allocations: 1.624 MB / 0.9571 GB, free: 5.137 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004424/0.1086, allocations: 3.43 MB / 0.9604 GB, free: 1.641 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002287/0.1088, allocations: 419.8 kB / 0.9608 GB, free: 1.23 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000626/0.1094, allocations: 0.5589 MB / 0.9614 GB, free: 0.6719 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008803/0.1182, allocations: 6.265 MB / 0.9675 GB, free: 9.738 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001031/0.1183, allocations: 23.95 kB / 0.9675 GB, free: 9.715 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004239/0.1188, allocations: 256.3 kB / 0.9678 GB, free: 9.465 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003929/0.1192, allocations: 430.8 kB / 0.9682 GB, free: 9.043 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005277/0.1244, allocations: 2.144 MB / 0.9703 GB, free: 6.891 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02403/0.1485, allocations: 28.16 MB / 0.9978 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001991/0.1505, allocations: 1.416 MB / 0.9992 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001178/0.1516, allocations: 0.9371 MB / 1 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.121e-05/0.1517, allocations: 34 kB / 1 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.637e-05/0.1518, allocations: 63.39 kB / 1 GB, free: 7.508 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=209): time 4.498e-06/0.1518, allocations: 4 kB / 1 GB, free: 7.504 MB / 0.9636 GB Notification: Performance of matching and sorting (n=212): time 0.0127/0.1645, allocations: 6.433 MB / 1.006 GB, free: 1.047 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.1645, allocations: 77.39 kB / 1.007 GB, free: 0.9609 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.166, allocations: 1.684 MB / 1.008 GB, free: 15.24 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001186/0.1661, allocations: 65.7 kB / 1.008 GB, free: 15.17 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001101/0.1672, allocations: 2.532 MB / 1.011 GB, free: 12.61 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004779/0.1677, allocations: 0.7903 MB / 1.011 GB, free: 11.82 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004752/0.1682, allocations: 488 kB / 1.012 GB, free: 11.33 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.876e-05/0.1683, allocations: 480.7 kB / 1.012 GB, free: 10.86 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007178/0.169, allocations: 465 kB / 1.013 GB, free: 10.4 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/0.1701, allocations: 1.504 MB / 1.014 GB, free: 8.465 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00209/0.1722, allocations: 2.151 MB / 1.016 GB, free: 5.887 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.321e-05/0.1722, allocations: 8 kB / 1.016 GB, free: 5.879 MB / 0.9792 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.003846/0.1761, allocations: 2.863 MB / 1.019 GB, free: 2.988 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/0.1761, allocations: 16 kB / 1.019 GB, free: 2.973 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/0.1761, allocations: 20 kB / 1.019 GB, free: 2.953 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002443/0.1786, allocations: 1.216 MB / 1.02 GB, free: 1.727 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009645/0.1795, allocations: 455.2 kB / 1.021 GB, free: 1.281 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01008/0.1896, allocations: 12.41 MB / 1.033 GB, free: 4.391 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/0.1909, allocations: 147.9 kB / 1.033 GB, free: 4.246 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001346/0.191, allocations: 104 kB / 1.033 GB, free: 4.145 MB / 0.9948 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009825/0.192, allocations: 323.8 kB / 1.034 GB, free: 3.816 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003407/0.1923, allocations: 342.3 kB / 1.034 GB, free: 3.48 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002975/0.1953, allocations: 2.253 MB / 1.036 GB, free: 1.195 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.1953, allocations: 20 kB / 1.036 GB, free: 1.176 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.011e-05/0.1953, allocations: 16 kB / 1.036 GB, free: 1.16 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.1954, allocations: 11.95 kB / 1.036 GB, free: 1.148 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007938/0.2033, allocations: 6.186 MB / 1.042 GB, free: 10.81 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/0.2033, allocations: 4 kB / 1.042 GB, free: 10.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005529/0.2039, allocations: 235.6 kB / 1.042 GB, free: 10.57 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002229/0.2061, allocations: 1.059 MB / 1.043 GB, free: 9.5 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/0.2062, allocations: 40 kB / 1.043 GB, free: 9.461 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3913/0.5975, allocations: 12.34 MB / 1.056 GB, free: 167 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.5975, allocations: 6.594 kB / 1.056 GB, free: 167 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003303/0.6008, allocations: 2.541 MB / 1.058 GB, free: 166.5 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007353/0.6015, allocations: 0.5101 MB / 1.059 GB, free: 166.5 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002077/0.6017, allocations: 42.75 kB / 1.059 GB, free: 166.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006187/0.6023, allocations: 120 kB / 1.059 GB, free: 166.5 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003469/0.6027, allocations: 189.3 kB / 1.059 GB, free: 166.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.281e-05/0.6028, allocations: 58.91 kB / 1.059 GB, free: 166.5 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0007852/0.6035, allocations: 0.9574 MB / 1.06 GB, free: 166.3 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6035, allocations: 0 / 1.06 GB, free: 166.3 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002059/0.6056, allocations: 1.143 MB / 1.061 GB, free: 166.3 MB / 1.01 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002109/0.6058, allocations: 165.5 kB / 1.061 GB, free: 166.2 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.003187/0.609, allocations: 3.135 MB / 1.064 GB, free: 165.3 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.609, allocations: 2.688 kB / 1.064 GB, free: 165.3 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001985/0.611, allocations: 2.284 MB / 1.066 GB, free: 164.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/0.6128, allocations: 0.834 MB / 1.067 GB, free: 164.4 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009168/0.622, allocations: 8.428 MB / 1.075 GB, free: 161.1 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001189/0.6231, allocations: 1.395 MB / 1.077 GB, free: 160.9 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001126/0.6243, allocations: 462.2 kB / 1.077 GB, free: 160.9 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000286/0.6246, allocations: 142.1 kB / 1.077 GB, free: 160.8 MB / 1.01 GB Notification: Performance of SimCode: time 2.054e-06/0.6246, allocations: 0 / 1.077 GB, free: 160.8 MB / 1.01 GB Notification: Performance of Templates: time 0.06589/0.6904, allocations: 54.79 MB / 1.131 GB, free: 148.8 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.521610795054585]