Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001692/0.001692, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002073/0.002073, allocations: 214.1 kB / 22.99 MB, free: 4.945 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.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.794/2.794, allocations: 476 MB / 0.7707 GB, free: 4.691 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_11_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.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.002095/0.002095, allocations: 69.62 kB / 1.118 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3646, allocations: 169.9 MB / 1.284 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04745/0.412, allocations: 36.42 MB / 1.319 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02094/0.433, allocations: 11.12 MB / 1.33 GB, free: 4 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003808/0.4368, allocations: 206.5 kB / 1.33 GB, free: 3.797 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0124/0.4492, allocations: 4.375 MB / 1.335 GB, free: 15.41 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.007292/0.4565, allocations: 2.336 MB / 1.337 GB, free: 13.07 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.006576/0.4631, allocations: 2.181 MB / 1.339 GB, free: 10.89 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01326/0.4763, allocations: 9.273 MB / 1.348 GB, free: 1.586 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01161/0.4879, allocations: 6.318 MB / 1.354 GB, free: 11.15 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007622/0.4955, allocations: 4.137 MB / 1.358 GB, free: 7.004 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008604/0.5042, allocations: 4.454 MB / 1.363 GB, free: 2.535 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.002477/0.5066, allocations: 0.8242 MB / 1.364 GB, free: 1.711 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004614/0.5112, allocations: 1.502 MB / 1.365 GB, free: 212 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.004773/0.516, allocations: 3.238 MB / 1.368 GB, free: 12.96 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.00639/0.5224, allocations: 2.969 MB / 1.371 GB, free: 9.98 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01661/0.539, allocations: 12.41 MB / 1.383 GB, free: 13.53 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.539, allocations: 0 / 1.383 GB, free: 13.53 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.625e-06/0.539, allocations: 0 / 1.383 GB, free: 13.53 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0003759/0.5394, allocations: 0 / 1.383 GB, free: 13.53 MB / 1.092 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.01837/0.5578, allocations: 6.395 MB / 1.389 GB, free: 7.074 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.5578, allocations: 12.03 kB / 1.389 GB, free: 7.062 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00651/0.5643, allocations: 1.09 MB / 1.391 GB, free: 5.969 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008795/0.5731, allocations: 3.583 MB / 1.394 GB, free: 2.324 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004537/0.5736, allocations: 423.7 kB / 1.394 GB, free: 1.91 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002001/0.5756, allocations: 0.5394 MB / 1.395 GB, free: 1.371 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02094/0.5965, allocations: 10.29 MB / 1.405 GB, free: 6.523 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001563/0.5967, allocations: 23.83 kB / 1.405 GB, free: 6.5 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009142/0.5976, allocations: 244 kB / 1.405 GB, free: 6.262 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006621/0.5983, allocations: 426.9 kB / 1.406 GB, free: 5.844 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0146/0.6128, allocations: 7.112 MB / 1.413 GB, free: 14.72 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04382/0.6567, allocations: 25.35 MB / 1.437 GB, free: 4.742 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005344/0.662, allocations: 2.898 MB / 1.44 GB, free: 1.84 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003347/0.6654, allocations: 1.934 MB / 1.442 GB, free: 15.9 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001467/0.6655, allocations: 22 kB / 1.442 GB, free: 15.88 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.616e-05/0.6656, allocations: 76.48 kB / 1.442 GB, free: 15.79 MB / 1.154 GB Notification: Performance of pre-optimization done (n=209): time 5.371e-06/0.6656, allocations: 0 / 1.442 GB, free: 15.79 MB / 1.154 GB Notification: Performance of matching and sorting (n=212): time 0.02638/0.692, allocations: 10.24 MB / 1.452 GB, free: 5.539 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.053e-05/0.692, allocations: 77.39 kB / 1.452 GB, free: 5.449 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003344/0.6954, allocations: 1.833 MB / 1.454 GB, free: 3.586 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002393/0.6956, allocations: 61.7 kB / 1.454 GB, free: 3.52 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.00205/0.6977, allocations: 2.485 MB / 1.457 GB, free: 1.012 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009053/0.6986, allocations: 0.7669 MB / 1.457 GB, free: 244 kB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009936/0.6996, allocations: 481.5 kB / 1.458 GB, free: 15.76 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.6997, allocations: 305.1 kB / 1.458 GB, free: 15.46 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002365/0.7021, allocations: 1.372 MB / 1.459 GB, free: 14.08 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003039/0.7051, allocations: 2.108 MB / 1.461 GB, free: 11.66 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005696/0.7108, allocations: 3.77 MB / 1.465 GB, free: 7.582 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.714e-05/0.7108, allocations: 4 kB / 1.465 GB, free: 7.578 MB / 1.17 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009162/0.72, allocations: 5.011 MB / 1.47 GB, free: 2.539 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.954e-05/0.72, allocations: 16 kB / 1.47 GB, free: 2.523 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-05/0.7201, allocations: 20.88 kB / 1.47 GB, free: 2.504 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00379/0.7239, allocations: 1.586 MB / 1.472 GB, free: 0.9102 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001783/0.7257, allocations: 451.2 kB / 1.472 GB, free: 480 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02578/0.7514, allocations: 17.78 MB / 1.489 GB, free: 14.29 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002959/0.7544, allocations: 151.8 kB / 1.49 GB, free: 14.14 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007129/0.7551, allocations: 104 kB / 1.49 GB, free: 14.04 MB / 1.201 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.004485/0.7596, allocations: 1.951 MB / 1.492 GB, free: 12.07 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000878/0.7605, allocations: 282.3 kB / 1.492 GB, free: 11.8 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008625/0.7691, allocations: 4.389 MB / 1.496 GB, free: 7.375 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.537e-05/0.7691, allocations: 20 kB / 1.496 GB, free: 7.355 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-05/0.7692, allocations: 16 kB / 1.496 GB, free: 7.34 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.531e-05/0.7692, allocations: 11.95 kB / 1.496 GB, free: 7.328 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01847/0.7877, allocations: 8.346 MB / 1.504 GB, free: 14.86 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-05/0.7877, allocations: 4 kB / 1.504 GB, free: 14.86 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/0.7888, allocations: 235.7 kB / 1.505 GB, free: 14.62 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003692/0.7925, allocations: 1.423 MB / 1.506 GB, free: 13.19 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002359/0.7928, allocations: 44 kB / 1.506 GB, free: 13.15 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02738/0.8201, allocations: 17.81 MB / 1.523 GB, free: 10.93 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/0.8201, allocations: 4 kB / 1.523 GB, free: 10.93 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01024/0.8304, allocations: 4.482 MB / 1.528 GB, free: 6.355 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002515/0.8329, allocations: 0.545 MB / 1.528 GB, free: 5.809 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001088/0.834, allocations: 39.98 kB / 1.528 GB, free: 5.77 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002207/0.8362, allocations: 115.9 kB / 1.528 GB, free: 5.656 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007836/0.837, allocations: 189.5 kB / 1.529 GB, free: 5.473 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002171/0.8372, allocations: 63.94 kB / 1.529 GB, free: 5.41 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0026/0.8398, allocations: 1.165 MB / 1.53 GB, free: 4.23 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.8398, allocations: 0 / 1.53 GB, free: 4.23 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.005739/0.8455, allocations: 1.137 MB / 1.531 GB, free: 3.094 MB / 1.232 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.0006294/0.8462, allocations: 167 kB / 1.531 GB, free: 2.922 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.009317/0.8555, allocations: 4.547 MB / 1.535 GB, free: 14.32 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/0.8555, allocations: 0 / 1.535 GB, free: 14.32 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.005159/0.8607, allocations: 2.805 MB / 1.538 GB, free: 11.47 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004539/0.8652, allocations: 0.8038 MB / 1.539 GB, free: 10.68 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02282/0.888, allocations: 10.33 MB / 1.549 GB, free: 248 kB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00594/0.894, allocations: 3.26 MB / 1.552 GB, free: 12.94 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007784/0.8947, allocations: 151.4 kB / 1.552 GB, free: 12.79 MB / 1.264 GB Notification: Performance of SimCode: time 1.413e-06/0.8947, allocations: 0 / 1.552 GB, free: 12.79 MB / 1.264 GB Notification: Performance of Templates: time 0.8018/1.696, allocations: 173 MB / 1.721 GB, free: 124 MB / 1.264 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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: 23.265673223417252]