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.001886/0.001886, allocations: 84.59 kB / 19.76 MB, free: 2.023 MB / 14.72 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.002241/0.002241, allocations: 159.4 kB / 23.01 MB, free: 4.961 MB / 14.72 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 1.475/1.475, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] 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.969/2.969, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",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.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 63.89 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9868/0.989, allocations: 181.8 MB / 1.187 GB, free: 16.23 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01009/0.9991, allocations: 9.647 MB / 1.196 GB, free: 10.11 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.004978/1.004, allocations: 3.148 MB / 1.199 GB, free: 8.043 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004996/1.005, allocations: 45.78 kB / 1.199 GB, free: 8.023 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001412/1.006, allocations: 0.6131 MB / 1.2 GB, free: 7.68 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00132/1.007, allocations: 0.7778 MB / 1.201 GB, free: 7.23 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001442/1.009, allocations: 0.7457 MB / 1.201 GB, free: 6.863 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002912/1.012, allocations: 2.994 MB / 1.204 GB, free: 5.602 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001696/1.013, allocations: 1.409 MB / 1.206 GB, free: 4.895 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001629/1.015, allocations: 1.295 MB / 1.207 GB, free: 4.352 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002081/1.017, allocations: 1.637 MB / 1.208 GB, free: 3.785 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003512/1.017, allocations: 235 kB / 1.209 GB, free: 3.785 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00097/1.018, allocations: 488.3 kB / 1.209 GB, free: 3.695 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001052/1.019, allocations: 1.092 MB / 1.21 GB, free: 3.277 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001024/1.02, allocations: 0.9137 MB / 1.211 GB, free: 2.785 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.004526/1.025, allocations: 3.712 MB / 1.215 GB, free: 1.641 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/1.025, allocations: 0.6094 kB / 1.215 GB, free: 1.641 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.694e-06/1.025, allocations: 1.438 kB / 1.215 GB, free: 1.641 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.783e-05/1.025, allocations: 0 / 1.215 GB, free: 1.641 MB / 1.076 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.004329/1.029, allocations: 2.123 MB / 1.217 GB, free: 396 kB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/1.029, allocations: 9.656 kB / 1.217 GB, free: 396 kB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009249/1.039, allocations: 1.358 MB / 1.218 GB, free: 216 kB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003974/1.043, allocations: 1.262 MB / 1.219 GB, free: 15.57 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001544/1.043, allocations: 112.8 kB / 1.219 GB, free: 15.52 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005719/1.043, allocations: 149 kB / 1.22 GB, free: 15.46 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01001/1.053, allocations: 3.51 MB / 1.223 GB, free: 14.08 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.878e-05/1.053, allocations: 10.66 kB / 1.223 GB, free: 14.07 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002746/1.054, allocations: 66.94 kB / 1.223 GB, free: 14.02 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005063/1.054, allocations: 209.5 kB / 1.223 GB, free: 13.99 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007244/1.061, allocations: 3.116 MB / 1.226 GB, free: 12.98 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01861/1.08, allocations: 9.842 MB / 1.236 GB, free: 6.84 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002504/1.083, allocations: 1.605 MB / 1.237 GB, free: 6.043 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001931/1.085, allocations: 1.326 MB / 1.239 GB, free: 5.398 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.409e-05/1.085, allocations: 11.09 kB / 1.239 GB, free: 5.395 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/1.085, allocations: 43.53 kB / 1.239 GB, free: 5.348 MB / 1.092 GB Notification: Performance of pre-optimization done (n=104): time 2.976e-06/1.085, allocations: 1.281 kB / 1.239 GB, free: 5.348 MB / 1.092 GB Notification: Performance of matching and sorting (n=183): time 0.1578/1.242, allocations: 36.2 MB / 1.274 GB, free: 12.15 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.463e-05/1.242, allocations: 73.41 kB / 1.274 GB, free: 12.06 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/1.244, allocations: 1.044 MB / 1.275 GB, free: 11.01 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0004148/1.245, allocations: 49.7 kB / 1.275 GB, free: 10.96 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006546/1.245, allocations: 0.8131 MB / 1.276 GB, free: 10.13 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008207/1.246, allocations: 0.6546 MB / 1.277 GB, free: 9.473 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008127/1.247, allocations: 363.5 kB / 1.277 GB, free: 9.109 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001427/1.247, allocations: 305.1 kB / 1.277 GB, free: 8.809 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002931/1.25, allocations: 1.928 MB / 1.279 GB, free: 6.879 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003179/1.253, allocations: 2.285 MB / 1.282 GB, free: 4.477 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006419/1.26, allocations: 4.391 MB / 1.286 GB, free: 15.96 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/1.26, allocations: 4 kB / 1.286 GB, free: 15.96 MB / 1.139 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.03012/1.29, allocations: 8.876 MB / 1.294 GB, free: 7.059 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.095e-05/1.29, allocations: 10.19 kB / 1.294 GB, free: 7.051 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.184e-05/1.29, allocations: 19.88 kB / 1.294 GB, free: 7.031 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02886/1.319, allocations: 4.963 MB / 1.299 GB, free: 2.051 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00147/1.32, allocations: 187.7 kB / 1.3 GB, free: 1.867 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07014/1.39, allocations: 37.82 MB / 1.336 GB, free: 11.62 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0023/1.392, allocations: 95.89 kB / 1.337 GB, free: 11.52 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002663/1.393, allocations: 68 kB / 1.337 GB, free: 11.46 MB / 1.186 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.001602/1.394, allocations: 0.8024 MB / 1.337 GB, free: 10.64 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003661/1.395, allocations: 143.1 kB / 1.338 GB, free: 10.5 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02183/1.417, allocations: 8.741 MB / 1.346 GB, free: 1.723 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.452e-05/1.417, allocations: 27.94 kB / 1.346 GB, free: 1.695 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.86e-05/1.417, allocations: 28 kB / 1.346 GB, free: 1.668 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.229e-05/1.417, allocations: 11.95 kB / 1.346 GB, free: 1.656 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02914/1.446, allocations: 12.39 MB / 1.358 GB, free: 5.152 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.032e-05/1.446, allocations: 4 kB / 1.358 GB, free: 5.148 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005698/1.446, allocations: 119.8 kB / 1.358 GB, free: 5.031 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01793/1.464, allocations: 4.821 MB / 1.363 GB, free: 200 kB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003295/1.465, allocations: 39.98 kB / 1.363 GB, free: 160 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.061/1.526, allocations: 35.76 MB / 1.398 GB, free: 11.96 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.154e-05/1.526, allocations: 7.938 kB / 1.398 GB, free: 11.96 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02079/1.546, allocations: 8.456 MB / 1.406 GB, free: 3.41 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001979/1.548, allocations: 0.5769 MB / 1.407 GB, free: 2.832 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003229/1.549, allocations: 35.95 kB / 1.407 GB, free: 2.797 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/1.55, allocations: 95.88 kB / 1.407 GB, free: 2.703 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000842/1.551, allocations: 173.5 kB / 1.407 GB, free: 2.531 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001781/1.551, allocations: 52 kB / 1.407 GB, free: 2.48 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.00111/1.552, allocations: 0.7141 MB / 1.408 GB, free: 1.754 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/1.552, allocations: 3.938 kB / 1.408 GB, free: 1.75 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003322/1.556, allocations: 1.004 MB / 1.409 GB, free: 0.7461 MB / 1.248 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.0003089/1.556, allocations: 143 kB / 1.409 GB, free: 0.5977 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01047/1.566, allocations: 5.737 MB / 1.415 GB, free: 10.81 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/1.566, allocations: 0 / 1.415 GB, free: 10.81 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.008517/1.575, allocations: 3.791 MB / 1.418 GB, free: 6.969 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/1.576, allocations: 238.8 kB / 1.419 GB, free: 6.742 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008834/1.585, allocations: 5.178 MB / 1.424 GB, free: 1.504 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001757/1.587, allocations: 1.275 MB / 1.425 GB, free: 196 kB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0008797/1.588, allocations: 343.2 kB / 1.425 GB, free: 15.85 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/1.588, allocations: 68.48 kB / 1.425 GB, free: 15.78 MB / 1.279 GB Notification: Performance of SimCode: time 6.21e-07/1.588, allocations: 0 / 1.425 GB, free: 15.78 MB / 1.279 GB Notification: Performance of Templates: time 0.09364/1.682, allocations: 63.96 MB / 1.488 GB, free: 15.7 MB / 1.342 GB " [Timeout remaining time 298] 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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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: 10.640527370967902]