Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001756/0.001756, allocations: 115.5 kB / 17.13 MB, free: 6.004 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.001843/0.001843, allocations: 213.8 kB / 20.1 MB, free: 3.055 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.534/1.534, allocations: 230.6 MB / 253.5 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.989/2.989, allocations: 0.49 GB / 0.7923 GB, free: 1.297 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.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_12_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_12_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.002053/0.002053, allocations: 71.91 kB / 1.15 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.233/1.235, allocations: 176.1 MB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01133/1.246, allocations: 10.23 MB / 1.332 GB, free: 18.05 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.006313/1.252, allocations: 3.25 MB / 1.335 GB, free: 15.83 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00119/1.254, allocations: 45.06 kB / 1.335 GB, free: 15.81 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001906/1.255, allocations: 0.6151 MB / 1.336 GB, free: 15.45 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002461/1.258, allocations: 0.7849 MB / 1.337 GB, free: 15 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002337/1.26, allocations: 0.7345 MB / 1.337 GB, free: 14.64 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.005564/1.266, allocations: 2.997 MB / 1.34 GB, free: 13.38 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003166/1.269, allocations: 1.96 MB / 1.342 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00316/1.272, allocations: 1.28 MB / 1.343 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003826/1.276, allocations: 1.703 MB / 1.345 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0009936/1.277, allocations: 234.7 kB / 1.345 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002041/1.279, allocations: 0.515 MB / 1.346 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001867/1.281, allocations: 1.098 MB / 1.347 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002019/1.283, allocations: 1.11 MB / 1.348 GB, free: 10.22 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.006865/1.29, allocations: 3.693 MB / 1.351 GB, free: 9.078 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/1.29, allocations: 1.844 kB / 1.351 GB, free: 9.078 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.134e-06/1.29, allocations: 0 / 1.351 GB, free: 9.078 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.000139/1.29, allocations: 0 / 1.351 GB, free: 9.078 MB / 1.061 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.007503/1.297, allocations: 2.201 MB / 1.354 GB, free: 7.727 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/1.297, allocations: 13.27 kB / 1.354 GB, free: 7.723 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01023/1.308, allocations: 1.317 MB / 1.355 GB, free: 7.555 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00399/1.312, allocations: 1.308 MB / 1.356 GB, free: 6.844 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/1.312, allocations: 115.4 kB / 1.356 GB, free: 6.789 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006921/1.312, allocations: 146.2 kB / 1.356 GB, free: 6.742 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007627/1.32, allocations: 3.435 MB / 1.36 GB, free: 5.441 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.832e-05/1.32, allocations: 10.41 kB / 1.36 GB, free: 5.434 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002462/1.32, allocations: 62.41 kB / 1.36 GB, free: 5.387 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003401/1.321, allocations: 205.7 kB / 1.36 GB, free: 5.359 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006276/1.327, allocations: 3.125 MB / 1.363 GB, free: 4.355 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02306/1.35, allocations: 13.57 MB / 1.376 GB, free: 11.27 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003228/1.353, allocations: 1.621 MB / 1.378 GB, free: 10.72 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002532/1.356, allocations: 1.328 MB / 1.379 GB, free: 10.3 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001065/1.356, allocations: 12.12 kB / 1.379 GB, free: 10.3 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.524e-05/1.356, allocations: 39.69 kB / 1.379 GB, free: 10.26 MB / 1.076 GB Notification: Performance of pre-optimization done (n=104): time 6.171e-06/1.356, allocations: 3.984 kB / 1.379 GB, free: 10.25 MB / 1.076 GB Notification: Performance of matching and sorting (n=183): time 0.1698/1.526, allocations: 36.57 MB / 1.415 GB, free: 9.258 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.901e-05/1.526, allocations: 73.41 kB / 1.415 GB, free: 9.172 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002019/1.528, allocations: 1.05 MB / 1.416 GB, free: 8.098 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0005287/1.528, allocations: 57.7 kB / 1.416 GB, free: 8.035 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000734/1.529, allocations: 0.8093 MB / 1.417 GB, free: 7.215 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.001078/1.53, allocations: 0.6546 MB / 1.418 GB, free: 6.555 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001248/1.531, allocations: 359.5 kB / 1.418 GB, free: 6.199 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001436/1.532, allocations: 305.1 kB / 1.418 GB, free: 5.898 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003199/1.535, allocations: 1.932 MB / 1.42 GB, free: 3.965 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003607/1.538, allocations: 2.289 MB / 1.422 GB, free: 1.547 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007119/1.546, allocations: 4.392 MB / 1.427 GB, free: 13.03 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/1.546, allocations: 3.938 kB / 1.427 GB, free: 13.02 MB / 1.107 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.0235/1.569, allocations: 8.868 MB / 1.435 GB, free: 4.129 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.523e-05/1.569, allocations: 18.12 kB / 1.435 GB, free: 4.113 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.651e-05/1.569, allocations: 8.656 kB / 1.435 GB, free: 4.105 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01941/1.589, allocations: 4.975 MB / 1.44 GB, free: 15.11 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/1.59, allocations: 187.7 kB / 1.44 GB, free: 14.93 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0685/1.658, allocations: 38.94 MB / 1.478 GB, free: 7.41 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002658/1.661, allocations: 99.83 kB / 1.479 GB, free: 7.312 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006039/1.661, allocations: 68 kB / 1.479 GB, free: 7.246 MB / 1.154 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.002269/1.664, allocations: 0.8074 MB / 1.479 GB, free: 6.43 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006287/1.664, allocations: 151.1 kB / 1.48 GB, free: 6.281 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02363/1.688, allocations: 8.734 MB / 1.488 GB, free: 13.51 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.782e-05/1.688, allocations: 23.94 kB / 1.488 GB, free: 13.49 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001003/1.688, allocations: 28 kB / 1.488 GB, free: 13.46 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-05/1.688, allocations: 11.97 kB / 1.488 GB, free: 13.45 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03446/1.723, allocations: 13.25 MB / 1.501 GB, free: 36 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.778e-05/1.723, allocations: 4 kB / 1.501 GB, free: 32 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006729/1.723, allocations: 119.8 kB / 1.501 GB, free: 15.91 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01962/1.743, allocations: 4.827 MB / 1.506 GB, free: 11.06 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005847/1.743, allocations: 39.94 kB / 1.506 GB, free: 11.02 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06772/1.811, allocations: 36.86 MB / 1.542 GB, free: 5.578 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.318e-06/1.811, allocations: 4 kB / 1.542 GB, free: 5.574 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02438/1.836, allocations: 8.46 MB / 1.55 GB, free: 13.03 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001987/1.838, allocations: 0.6444 MB / 1.551 GB, free: 12.36 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008034/1.838, allocations: 39.94 kB / 1.551 GB, free: 12.32 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001959/1.84, allocations: 87.89 kB / 1.551 GB, free: 12.24 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00112/1.841, allocations: 157.7 kB / 1.551 GB, free: 12.09 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002957/1.842, allocations: 55.98 kB / 1.551 GB, free: 12.03 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001511/1.843, allocations: 0.7382 MB / 1.552 GB, free: 11.28 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/1.843, allocations: 0 / 1.552 GB, free: 11.28 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.004841/1.848, allocations: 1 MB / 1.553 GB, free: 10.28 MB / 1.232 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.0004934/1.849, allocations: 143.1 kB / 1.553 GB, free: 10.13 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01201/1.861, allocations: 5.755 MB / 1.559 GB, free: 4.32 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/1.861, allocations: 0 / 1.559 GB, free: 4.32 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.009846/1.87, allocations: 3.793 MB / 1.562 GB, free: 496 kB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002527/1.873, allocations: 237.6 kB / 1.563 GB, free: 260 kB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01158/1.885, allocations: 5.412 MB / 1.568 GB, free: 10.78 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002581/1.887, allocations: 1.894 MB / 1.57 GB, free: 8.844 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000431/1.888, allocations: 63.44 kB / 1.57 GB, free: 8.781 MB / 1.248 GB Notification: Performance of SimCode: time 1.774e-06/1.888, allocations: 4 kB / 1.57 GB, free: 8.777 MB / 1.248 GB Notification: Performance of Templates: time 0.08893/1.977, allocations: 69.49 MB / 1.638 GB, free: 3.254 MB / 1.311 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 17.304335770997568]