Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002037/0.002037, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.568/1.568, allocations: 225.6 MB / 249.4 MB, free: 3.031 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.726/2.726, allocations: 443.5 MB / 0.7304 GB, free: 13.84 MB / 0.5763 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 67.89 kB / 1.059 GB, free: 308 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3872, allocations: 160.7 MB / 1.216 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02929/0.4165, allocations: 21.22 MB / 1.237 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01389/0.4303, allocations: 6.675 MB / 1.243 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002675/0.433, allocations: 87.56 kB / 1.243 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.007008/0.44, allocations: 2.326 MB / 1.246 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004855/0.4449, allocations: 1.244 MB / 1.247 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00473/0.4496, allocations: 1.317 MB / 1.248 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008063/0.4577, allocations: 4.858 MB / 1.253 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00784/0.4655, allocations: 2.944 MB / 1.256 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004978/0.4705, allocations: 2.115 MB / 1.258 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005647/0.4761, allocations: 2.481 MB / 1.26 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001818/0.478, allocations: 428 kB / 1.261 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003674/0.4816, allocations: 1.022 MB / 1.262 GB, free: 372 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.9647/1.446, allocations: 1.704 MB / 1.263 GB, free: 18.84 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004403/1.451, allocations: 1.914 MB / 1.265 GB, free: 18.61 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01225/1.463, allocations: 6.529 MB / 1.272 GB, free: 17.98 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.051e-05/1.463, allocations: 2.906 kB / 1.272 GB, free: 17.98 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.166e-06/1.463, allocations: 1.781 kB / 1.272 GB, free: 17.98 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002866/1.463, allocations: 0.5156 kB / 1.272 GB, free: 17.98 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01586/1.479, allocations: 3.541 MB / 1.275 GB, free: 16.52 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/1.479, allocations: 11.12 kB / 1.275 GB, free: 16.52 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005656/1.485, allocations: 0.6525 MB / 1.276 GB, free: 16.34 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007626/1.492, allocations: 2.056 MB / 1.278 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004334/1.493, allocations: 219.9 kB / 1.278 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002182/1.495, allocations: 298.5 kB / 1.278 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0164/1.511, allocations: 4.883 MB / 1.283 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001283/1.512, allocations: 12.67 kB / 1.283 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004581/1.512, allocations: 135.1 kB / 1.283 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006939/1.513, allocations: 227.7 kB / 1.283 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01034/1.523, allocations: 3.748 MB / 1.287 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03407/1.557, allocations: 21.45 MB / 1.308 GB, free: 15.25 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002342/1.56, allocations: 1.231 MB / 1.309 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002003/1.562, allocations: 0.9977 MB / 1.31 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-05/1.562, allocations: 11.53 kB / 1.31 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.741e-05/1.562, allocations: 45.69 kB / 1.31 GB, free: 14.38 MB / 1.014 GB Notification: Performance of pre-optimization done (n=107): time 4.408e-06/1.562, allocations: 0 / 1.31 GB, free: 14.38 MB / 1.014 GB Notification: Performance of matching and sorting (n=138): time 0.02835/1.59, allocations: 8.65 MB / 1.319 GB, free: 11.59 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.481e-05/1.59, allocations: 70 kB / 1.319 GB, free: 11.52 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002205/1.592, allocations: 1.131 MB / 1.32 GB, free: 11.07 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000179/1.592, allocations: 53.3 kB / 1.32 GB, free: 11.02 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001228/1.594, allocations: 1.331 MB / 1.321 GB, free: 10.01 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000605/1.594, allocations: 0.4992 MB / 1.322 GB, free: 9.617 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005826/1.595, allocations: 291.5 kB / 1.322 GB, free: 9.473 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001564/1.595, allocations: 310.5 kB / 1.322 GB, free: 9.168 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001518/1.597, allocations: 0.9151 MB / 1.323 GB, free: 8.832 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001902/1.598, allocations: 1.325 MB / 1.324 GB, free: 8 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003666/1.602, allocations: 2.426 MB / 1.327 GB, free: 6.672 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/1.602, allocations: 4.344 kB / 1.327 GB, free: 6.672 MB / 1.014 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.007208/1.609, allocations: 3.44 MB / 1.33 GB, free: 5.426 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/1.609, allocations: 9.625 kB / 1.33 GB, free: 5.426 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.889e-05/1.609, allocations: 13.25 kB / 1.33 GB, free: 5.426 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003472/1.613, allocations: 1.183 MB / 1.331 GB, free: 5.121 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/1.614, allocations: 257.5 kB / 1.332 GB, free: 5.113 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02062/1.635, allocations: 13.85 MB / 1.345 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002167/1.637, allocations: 89.5 kB / 1.345 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001733/1.637, allocations: 65.39 kB / 1.345 GB, free: 11.56 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002924/1.64, allocations: 1.11 MB / 1.346 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005882/1.64, allocations: 165.5 kB / 1.347 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006658/1.647, allocations: 3.14 MB / 1.35 GB, free: 8.992 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.027e-05/1.647, allocations: 13.72 kB / 1.35 GB, free: 8.992 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.672e-05/1.647, allocations: 12.19 kB / 1.35 GB, free: 8.992 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.16e-05/1.647, allocations: 11.91 kB / 1.35 GB, free: 8.98 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01247/1.66, allocations: 6.205 MB / 1.356 GB, free: 5.301 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/1.66, allocations: 6.562 kB / 1.356 GB, free: 5.297 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005784/1.66, allocations: 149.4 kB / 1.356 GB, free: 5.266 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002802/1.663, allocations: 1.073 MB / 1.357 GB, free: 4.762 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001143/1.663, allocations: 28.47 kB / 1.357 GB, free: 4.742 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01826/1.681, allocations: 13.55 MB / 1.37 GB, free: 10.86 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.976e-06/1.681, allocations: 7.781 kB / 1.37 GB, free: 10.86 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006076/1.687, allocations: 3.121 MB / 1.373 GB, free: 9.027 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001233/1.689, allocations: 428.1 kB / 1.374 GB, free: 8.715 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002163/1.689, allocations: 35.48 kB / 1.374 GB, free: 8.691 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007988/1.69, allocations: 82.95 kB / 1.374 GB, free: 8.645 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004483/1.69, allocations: 126.4 kB / 1.374 GB, free: 8.578 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/1.69, allocations: 41.53 kB / 1.374 GB, free: 8.566 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.00113/1.691, allocations: 0.764 MB / 1.375 GB, free: 8.141 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/1.691, allocations: 0 / 1.375 GB, free: 8.141 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002569/1.694, allocations: 0.6565 MB / 1.375 GB, free: 7.75 MB / 1.045 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002996/1.694, allocations: 147 kB / 1.375 GB, free: 7.605 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.005513/1.7, allocations: 3.013 MB / 1.378 GB, free: 4.625 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/1.7, allocations: 128 / 1.378 GB, free: 4.625 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.003232/1.703, allocations: 1.887 MB / 1.38 GB, free: 2.727 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002605/1.706, allocations: 0.4932 MB / 1.381 GB, free: 2.262 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/1.718, allocations: 5.536 MB / 1.386 GB, free: 12.66 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002922/1.721, allocations: 2.336 MB / 1.388 GB, free: 10.3 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0013/1.722, allocations: 354.1 kB / 1.389 GB, free: 9.949 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002325/1.722, allocations: 87.44 kB / 1.389 GB, free: 9.863 MB / 1.061 GB Notification: Performance of SimCode: time 1.923e-06/1.722, allocations: 0 / 1.389 GB, free: 9.863 MB / 1.061 GB Notification: Performance of Templates: time 0.06379/1.786, allocations: 34.21 MB / 1.422 GB, free: 8.219 MB / 1.092 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.177874025888741]