Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.0009367/0.0009367, allocations: 81.95 kB / 19.87 MB, free: 4.621 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.001037/0.001037, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.8896/0.8896, 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.25/2.25, allocations: 438.1 MB / 0.682 GB, free: 14.18 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_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 3.938 kB / 0.8898 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.394e-05/1.554e-05, allocations: 6.312 kB / 0.8898 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.005214/0.00523, allocations: 6.538 MB / 0.8961 GB, free: 3.164 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002487/0.007717, allocations: 2.207 MB / 0.8983 GB, free: 0.9492 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002581/0.007975, allocations: 51.69 kB / 0.8983 GB, free: 0.8984 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0005165/0.008491, allocations: 266.1 kB / 0.8986 GB, free: 0.6367 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0006861/0.009177, allocations: 0.7032 MB / 0.8993 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006254/0.009803, allocations: 0.659 MB / 0.8999 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001713/0.01152, allocations: 3.007 MB / 0.9029 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/0.01266, allocations: 1.427 MB / 0.9043 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001208/0.01387, allocations: 1.727 MB / 0.9059 GB, free: 9.055 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001251/0.01512, allocations: 1.629 MB / 0.9075 GB, free: 7.422 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002112/0.01533, allocations: 236 kB / 0.9078 GB, free: 7.191 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003884/0.01572, allocations: 335.8 kB / 0.9081 GB, free: 6.863 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006167/0.01633, allocations: 1.165 MB / 0.9092 GB, free: 5.695 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005207/0.01685, allocations: 0.7875 MB / 0.91 GB, free: 4.906 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001724/0.01858, allocations: 2.143 MB / 0.9121 GB, free: 2.758 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.01858, allocations: 0 / 0.9121 GB, free: 2.758 MB / 0.8698 GB Notification: Performance of FrontEnd: time 8.31e-07/0.01858, allocations: 0 / 0.9121 GB, free: 2.758 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.01859, allocations: 3.938 kB / 0.9121 GB, free: 2.754 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.002689/0.02128, allocations: 2.256 MB / 0.9143 GB, free: 460 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.02132, allocations: 12.62 kB / 0.9143 GB, free: 448 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005613/0.02693, allocations: 1.291 MB / 0.9156 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.02822, allocations: 1.038 MB / 0.9166 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.683e-05/0.0283, allocations: 111.4 kB / 0.9167 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000245/0.02854, allocations: 152.3 kB / 0.9168 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002172/0.03071, allocations: 1.654 MB / 0.9184 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.097e-05/0.03075, allocations: 4.125 kB / 0.9184 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001683/0.03091, allocations: 68.7 kB / 0.9185 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000212/0.03113, allocations: 203.1 kB / 0.9187 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.0325, allocations: 0.6659 MB / 0.9194 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008408/0.04091, allocations: 8.268 MB / 0.9274 GB, free: 2.59 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008938/0.0418, allocations: 0.5506 MB / 0.928 GB, free: 2.039 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006253/0.04243, allocations: 398.2 kB / 0.9284 GB, free: 1.645 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 6.909e-05/0.0425, allocations: 20.98 kB / 0.9284 GB, free: 1.625 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.04253, allocations: 54.33 kB / 0.9284 GB, free: 1.562 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=104): time 2.726e-06/0.04253, allocations: 0 / 0.9284 GB, free: 1.562 MB / 0.8855 GB Notification: Performance of matching and sorting (n=183): time 0.02031/0.06284, allocations: 8.204 MB / 0.9364 GB, free: 9.34 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.06288, allocations: 73.41 kB / 0.9365 GB, free: 9.258 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007551/0.06363, allocations: 0.8734 MB / 0.9374 GB, free: 8.367 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001182/0.06375, allocations: 57.7 kB / 0.9374 GB, free: 8.305 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004544/0.0642, allocations: 0.8782 MB / 0.9383 GB, free: 7.414 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004724/0.06468, allocations: 0.6779 MB / 0.9389 GB, free: 6.73 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006227/0.0653, allocations: 361 kB / 0.9393 GB, free: 6.371 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.06541, allocations: 480.7 kB / 0.9397 GB, free: 5.898 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006888/0.0661, allocations: 355.7 kB / 0.9401 GB, free: 5.551 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009894/0.06709, allocations: 0.86 MB / 0.9409 GB, free: 4.523 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001783/0.06887, allocations: 1.331 MB / 0.9422 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.06888, allocations: 4 kB / 0.9422 GB, free: 3.016 MB / 0.9011 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.009743/0.07862, allocations: 4.132 MB / 0.9463 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.07864, allocations: 8 kB / 0.9463 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.07866, allocations: 15.94 kB / 0.9463 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008638/0.0873, allocations: 3.233 MB / 0.9494 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000361/0.08766, allocations: 175.7 kB / 0.9496 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01802/0.1057, allocations: 17.87 MB / 0.9671 GB, free: 9.078 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007182/0.1064, allocations: 52 kB / 0.9671 GB, free: 9.027 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.1065, allocations: 52 kB / 0.9672 GB, free: 8.977 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004397/0.1069, allocations: 244.3 kB / 0.9674 GB, free: 8.727 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002474/0.1072, allocations: 203 kB / 0.9676 GB, free: 8.527 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007192/0.1144, allocations: 4.162 MB / 0.9716 GB, free: 4.324 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.936e-06/0.1144, allocations: 16 kB / 0.9717 GB, free: 4.309 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.821e-05/0.1144, allocations: 28 kB / 0.9717 GB, free: 4.281 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.1144, allocations: 15.95 kB / 0.9717 GB, free: 4.266 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009393/0.1238, allocations: 6.12 MB / 0.9777 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.1238, allocations: 4 kB / 0.9777 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/0.124, allocations: 104.3 kB / 0.9778 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007723/0.1317, allocations: 3.132 MB / 0.9808 GB, free: 10.77 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.1318, allocations: 39.94 kB / 0.9809 GB, free: 10.73 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01706/0.1489, allocations: 16.52 MB / 0.997 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.1489, allocations: 11.92 kB / 0.997 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007227/0.1561, allocations: 4.121 MB / 1.001 GB, free: 5.492 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005296/0.1567, allocations: 414.8 kB / 1.001 GB, free: 5.086 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/0.1568, allocations: 36 kB / 1.001 GB, free: 5.051 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004843/0.1573, allocations: 32 kB / 1.002 GB, free: 5.02 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003422/0.1576, allocations: 169.5 kB / 1.002 GB, free: 4.855 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-05/0.1577, allocations: 32 kB / 1.002 GB, free: 4.824 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.000332/0.1581, allocations: 0.5069 MB / 1.002 GB, free: 4.305 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.1581, allocations: 0 / 1.002 GB, free: 4.305 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001804/0.1599, allocations: 1.004 MB / 1.003 GB, free: 3.301 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002097/0.1601, allocations: 151 kB / 1.003 GB, free: 3.145 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003489/0.1636, allocations: 3.028 MB / 1.006 GB, free: 44 kB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1636, allocations: 0 / 1.006 GB, free: 44 kB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.003004/0.1666, allocations: 2.575 MB / 1.009 GB, free: 13.39 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007805/0.1673, allocations: 238.9 kB / 1.009 GB, free: 13.16 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004617/0.172, allocations: 4 MB / 1.013 GB, free: 9.07 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006061/0.1726, allocations: 0.6389 MB / 1.014 GB, free: 8.398 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002687/0.1728, allocations: 107.5 kB / 1.014 GB, free: 8.289 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003054/0.1731, allocations: 238.1 kB / 1.014 GB, free: 8.055 MB / 0.9792 GB Notification: Performance of SimCode: time 8.31e-07/0.1731, allocations: 4 kB / 1.014 GB, free: 8.051 MB / 0.9792 GB Notification: Performance of Templates: time 0.4264/0.5995, allocations: 67.05 MB / 1.079 GB, free: 174.7 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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.152410455979407]