Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.001808/0.001808, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.002038/0.002038, allocations: 192.2 kB / 22.17 MB, free: 5.656 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.475/1.475, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.758/2.758, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ACLineMatrix_RL_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_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002139/0.002139, allocations: 67.89 kB / 1.109 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7554/0.7575, allocations: 168.7 MB / 1.274 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.03046/0.788, allocations: 24.46 MB / 1.298 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01207/0.8, allocations: 6.664 MB / 1.304 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001615/0.8017, allocations: 99.5 kB / 1.305 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003972/0.8056, allocations: 1.548 MB / 1.306 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004678/0.8103, allocations: 1.941 MB / 1.308 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00364/0.8139, allocations: 1.503 MB / 1.309 GB, free: 204 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008486/0.8224, allocations: 6.9 MB / 1.316 GB, free: 9.281 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00575/0.8282, allocations: 3.492 MB / 1.32 GB, free: 5.699 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004297/0.8325, allocations: 2.878 MB / 1.322 GB, free: 2.812 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005276/0.8378, allocations: 3.739 MB / 1.326 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0008432/0.8386, allocations: 0.5273 MB / 1.327 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002282/0.8409, allocations: 1.194 MB / 1.328 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.002586/0.8435, allocations: 2.529 MB / 1.33 GB, free: 10.8 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002971/0.8464, allocations: 2.528 MB / 1.333 GB, free: 8.266 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.008881/0.8553, allocations: 8.545 MB / 1.341 GB, free: 15.69 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.8553, allocations: 0 / 1.341 GB, free: 15.69 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8553, allocations: 0 / 1.341 GB, free: 15.69 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001321/0.8555, allocations: 4 kB / 1.341 GB, free: 15.69 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.008321/0.8638, allocations: 4.543 MB / 1.345 GB, free: 11.07 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.8638, allocations: 8.031 kB / 1.345 GB, free: 11.07 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009093/0.8729, allocations: 1.711 MB / 1.347 GB, free: 9.352 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007246/0.8802, allocations: 2.705 MB / 1.35 GB, free: 6.594 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002744/0.8804, allocations: 279.7 kB / 1.35 GB, free: 6.32 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001157/0.8816, allocations: 360.2 kB / 1.35 GB, free: 5.969 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0149/0.8965, allocations: 7.487 MB / 1.358 GB, free: 14.21 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001137/0.8966, allocations: 11.94 kB / 1.358 GB, free: 14.2 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005207/0.8971, allocations: 159.9 kB / 1.358 GB, free: 14.05 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006319/0.8977, allocations: 491.2 kB / 1.358 GB, free: 13.57 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01112/0.9089, allocations: 5.697 MB / 1.364 GB, free: 7.863 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03805/0.9469, allocations: 31.55 MB / 1.395 GB, free: 5.547 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003073/0.95, allocations: 2.012 MB / 1.397 GB, free: 3.523 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003097/0.9531, allocations: 2.112 MB / 1.399 GB, free: 1.41 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/0.9532, allocations: 21.3 kB / 1.399 GB, free: 1.391 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.283e-05/0.9533, allocations: 51.88 kB / 1.399 GB, free: 1.328 MB / 1.092 GB Notification: Performance of pre-optimization done (n=146): time 3.036e-06/0.9533, allocations: 4 kB / 1.399 GB, free: 1.324 MB / 1.092 GB Notification: Performance of matching and sorting (n=251): time 0.3328/1.286, allocations: 76.79 MB / 1.474 GB, free: 4.383 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.394e-05/1.286, allocations: 81.41 kB / 1.474 GB, free: 4.289 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002387/1.289, allocations: 1.674 MB / 1.475 GB, free: 2.57 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0004372/1.289, allocations: 65.7 kB / 1.476 GB, free: 2.5 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001285/1.29, allocations: 1.795 MB / 1.477 GB, free: 0.6914 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009777/1.291, allocations: 0.8946 MB / 1.478 GB, free: 15.79 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001011/1.292, allocations: 489.4 kB / 1.479 GB, free: 15.3 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001365/1.292, allocations: 305.1 kB / 1.479 GB, free: 15 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004166/1.297, allocations: 2.734 MB / 1.482 GB, free: 12.27 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00451/1.301, allocations: 3.328 MB / 1.485 GB, free: 8.695 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008791/1.31, allocations: 6.397 MB / 1.491 GB, free: 2.059 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.868e-06/1.31, allocations: 8 kB / 1.491 GB, free: 2.051 MB / 1.186 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03434/1.344, allocations: 14.4 MB / 1.505 GB, free: 3.602 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.082e-05/1.344, allocations: 12 kB / 1.505 GB, free: 3.59 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.851e-05/1.344, allocations: 20 kB / 1.505 GB, free: 3.57 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03226/1.377, allocations: 9.241 MB / 1.514 GB, free: 10.3 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/1.378, allocations: 295.5 kB / 1.515 GB, free: 10.02 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1093/1.487, allocations: 52.4 MB / 1.566 GB, free: 4.723 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00466/1.492, allocations: 223.7 kB / 1.566 GB, free: 4.504 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007436/1.493, allocations: 100 kB / 1.566 GB, free: 4.406 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004899/1.497, allocations: 1.582 MB / 1.568 GB, free: 2.812 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001099/1.499, allocations: 258.5 kB / 1.568 GB, free: 2.559 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04244/1.541, allocations: 14.47 MB / 1.582 GB, free: 4.027 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.488e-05/1.541, allocations: 27.98 kB / 1.582 GB, free: 4 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001706/1.541, allocations: 48 kB / 1.582 GB, free: 3.953 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.939e-05/1.541, allocations: 11.95 kB / 1.582 GB, free: 3.941 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7976/2.339, allocations: 20.23 MB / 1.602 GB, free: 294.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.275e-05/2.339, allocations: 6.953 kB / 1.602 GB, free: 294.4 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000877/2.34, allocations: 161.2 kB / 1.602 GB, free: 294.4 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03252/2.372, allocations: 9.007 MB / 1.611 GB, free: 294.3 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004365/2.373, allocations: 46.78 kB / 1.611 GB, free: 294.3 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06691/2.44, allocations: 51.96 MB / 1.662 GB, free: 270.9 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/2.44, allocations: 11.94 kB / 1.662 GB, free: 270.8 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02792/2.468, allocations: 14.1 MB / 1.675 GB, free: 259.1 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00235/2.47, allocations: 0.8546 MB / 1.676 GB, free: 258.3 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005795/2.47, allocations: 51.8 kB / 1.676 GB, free: 258.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002236/2.473, allocations: 211.7 kB / 1.676 GB, free: 258 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001114/2.474, allocations: 241.4 kB / 1.677 GB, free: 257.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001968/2.474, allocations: 64 kB / 1.677 GB, free: 257.7 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001186/2.475, allocations: 1.129 MB / 1.678 GB, free: 256.6 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/2.475, allocations: 0 / 1.678 GB, free: 256.6 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004267/2.479, allocations: 1.613 MB / 1.679 GB, free: 255 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004947/2.48, allocations: 169.8 kB / 1.68 GB, free: 254.8 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.02037/2.5, allocations: 10.19 MB / 1.689 GB, free: 244.6 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/2.5, allocations: 0.875 kB / 1.689 GB, free: 244.6 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01608/2.516, allocations: 7.028 MB / 1.696 GB, free: 237.5 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002734/2.519, allocations: 0.5557 MB / 1.697 GB, free: 236.9 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01133/2.531, allocations: 8.929 MB / 1.706 GB, free: 227.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00252/2.533, allocations: 3.216 MB / 1.709 GB, free: 224.7 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0008634/2.534, allocations: 399.3 kB / 1.709 GB, free: 224.3 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/2.534, allocations: 103.4 kB / 1.709 GB, free: 224.2 MB / 1.295 GB Notification: Performance of SimCode: time 9.12e-07/2.534, allocations: 0 / 1.709 GB, free: 224.2 MB / 1.295 GB Notification: Performance of Templates: time 0.1083/2.642, allocations: 95.24 MB / 1.802 GB, free: 129.2 MB / 1.295 GB " [Timeout remaining time 297] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.817111488897353]