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.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.0008446/0.0008446, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.000791/0.000791, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.9083/0.9083, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.635/1.635, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.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 1.853e-06/1.853e-06, allocations: 0 / 0.9517 GB, free: 2.969 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.708e-05/2.893e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.965 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01717/0.01719, allocations: 21.83 MB / 0.9731 GB, free: 13.05 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.008935/0.02613, allocations: 6.398 MB / 0.9793 GB, free: 6.633 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001437/0.02757, allocations: 131 kB / 0.9794 GB, free: 6.504 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.002045/0.02961, allocations: 1.507 MB / 0.9809 GB, free: 4.992 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.003239/0.03285, allocations: 1.99 MB / 0.9829 GB, free: 2.992 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002255/0.03511, allocations: 1.469 MB / 0.9843 GB, free: 1.523 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.00466/0.03977, allocations: 7.032 MB / 0.9912 GB, free: 10.47 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003273/0.04304, allocations: 3.758 MB / 0.9948 GB, free: 6.617 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00346/0.0465, allocations: 4.015 MB / 0.9987 GB, free: 2.594 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002739/0.04924, allocations: 3.402 MB / 1.002 GB, free: 15.18 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0005036/0.04974, allocations: 0.5312 MB / 1.003 GB, free: 14.65 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001674/0.05141, allocations: 1.119 MB / 1.004 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.001453/0.05287, allocations: 2.662 MB / 1.006 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.001223/0.05409, allocations: 1.758 MB / 1.008 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.005208/0.0593, allocations: 8.687 MB / 1.016 GB, free: 400 kB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.0593, allocations: 0 / 1.016 GB, free: 400 kB / 0.9636 GB Notification: Performance of FrontEnd: time 2.695e-06/0.05931, allocations: 4 kB / 1.016 GB, free: 396 kB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.697e-05/0.05938, allocations: 0 / 1.016 GB, free: 396 kB / 0.9636 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.005277/0.06466, allocations: 4.425 MB / 1.021 GB, free: 11.9 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.06471, allocations: 8.031 kB / 1.021 GB, free: 11.89 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004233/0.06895, allocations: 1.711 MB / 1.022 GB, free: 10.18 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00348/0.07243, allocations: 2.672 MB / 1.025 GB, free: 7.465 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/0.07255, allocations: 279.6 kB / 1.025 GB, free: 7.191 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004175/0.07297, allocations: 360.3 kB / 1.026 GB, free: 6.84 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007365/0.08034, allocations: 7.717 MB / 1.033 GB, free: 14.8 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.923e-05/0.08039, allocations: 16.06 kB / 1.033 GB, free: 14.79 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000275/0.08067, allocations: 156.3 kB / 1.033 GB, free: 14.63 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003469/0.08102, allocations: 491.3 kB / 1.034 GB, free: 14.15 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005735/0.08675, allocations: 5.697 MB / 1.039 GB, free: 8.449 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4772/0.564, allocations: 19.91 MB / 1.059 GB, free: 114.1 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/0.5655, allocations: 2.012 MB / 1.061 GB, free: 113.4 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00159/0.5671, allocations: 2.104 MB / 1.063 GB, free: 112.6 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.273e-05/0.5672, allocations: 18.83 kB / 1.063 GB, free: 112.6 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.5673, allocations: 47.72 kB / 1.063 GB, free: 112.6 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=146): time 3.697e-06/0.5673, allocations: 0 / 1.063 GB, free: 112.6 MB / 0.9948 GB Notification: Performance of matching and sorting (n=251): time 0.1454/0.7127, allocations: 76.73 MB / 1.138 GB, free: 88.48 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.7127, allocations: 77.41 kB / 1.138 GB, free: 88.4 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/0.714, allocations: 1.606 MB / 1.14 GB, free: 86.79 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001626/0.7142, allocations: 65.7 kB / 1.14 GB, free: 86.72 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005551/0.7147, allocations: 1.803 MB / 1.141 GB, free: 84.91 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004683/0.7152, allocations: 0.8814 MB / 1.142 GB, free: 84.04 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005436/0.7158, allocations: 485.4 kB / 1.143 GB, free: 83.56 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.71e-05/0.7158, allocations: 301.1 kB / 1.143 GB, free: 83.26 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00212/0.7179, allocations: 2.73 MB / 1.146 GB, free: 80.53 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002236/0.7201, allocations: 3.328 MB / 1.149 GB, free: 76.95 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004488/0.7246, allocations: 6.397 MB / 1.155 GB, free: 70.32 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.7246, allocations: 4 kB / 1.155 GB, free: 70.31 MB / 0.9948 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.01599/0.7406, allocations: 14.4 MB / 1.169 GB, free: 55.86 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.7407, allocations: 12 kB / 1.169 GB, free: 55.85 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/0.7407, allocations: 20 kB / 1.169 GB, free: 55.83 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01438/0.7551, allocations: 9.201 MB / 1.178 GB, free: 46.62 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006825/0.7557, allocations: 303.5 kB / 1.179 GB, free: 46.32 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04132/0.7971, allocations: 50.84 MB / 1.228 GB, free: 10.88 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/0.7987, allocations: 220.6 kB / 1.228 GB, free: 10.67 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/0.7989, allocations: 96 kB / 1.228 GB, free: 10.57 MB / 1.01 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.002186/0.8011, allocations: 1.582 MB / 1.23 GB, free: 8.98 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002757/0.8013, allocations: 250.7 kB / 1.23 GB, free: 8.734 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01855/0.8199, allocations: 14.48 MB / 1.244 GB, free: 10.2 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.8199, allocations: 24 kB / 1.244 GB, free: 10.17 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.462e-05/0.82, allocations: 44 kB / 1.244 GB, free: 10.13 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.822e-05/0.82, allocations: 15.94 kB / 1.244 GB, free: 10.11 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02424/0.8442, allocations: 18.91 MB / 1.263 GB, free: 7.066 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/0.8442, allocations: 11.36 kB / 1.263 GB, free: 7.059 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003741/0.8446, allocations: 166.1 kB / 1.263 GB, free: 6.898 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01606/0.8607, allocations: 8.979 MB / 1.272 GB, free: 13.9 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002931/0.861, allocations: 48 kB / 1.272 GB, free: 13.85 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04984/0.9108, allocations: 50.42 MB / 1.321 GB, free: 10.82 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/0.9108, allocations: 8 kB / 1.321 GB, free: 10.82 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0197/0.9305, allocations: 14.08 MB / 1.335 GB, free: 12.6 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001532/0.932, allocations: 0.7676 MB / 1.336 GB, free: 11.83 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000246/0.9323, allocations: 52 kB / 1.336 GB, free: 11.78 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.9334, allocations: 199.7 kB / 1.336 GB, free: 11.59 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001128/0.9345, allocations: 265.2 kB / 1.336 GB, free: 11.33 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001384/0.9346, allocations: 64 kB / 1.336 GB, free: 11.27 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.001093/0.9357, allocations: 1.06 MB / 1.337 GB, free: 10.21 MB / 1.12 GB Notification: Performance of sort global known variables: time 8e-08/0.9357, allocations: 0 / 1.337 GB, free: 10.21 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.003606/0.9393, allocations: 1.609 MB / 1.339 GB, free: 8.605 MB / 1.12 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.0003647/0.9397, allocations: 163 kB / 1.339 GB, free: 8.438 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.01368/0.9534, allocations: 10.19 MB / 1.349 GB, free: 14.2 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 9.128e-06/0.9534, allocations: 0 / 1.349 GB, free: 14.2 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.009953/0.9633, allocations: 6.996 MB / 1.356 GB, free: 7.145 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002144/0.9655, allocations: 0.5374 MB / 1.356 GB, free: 6.629 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01423/0.9797, allocations: 9.521 MB / 1.366 GB, free: 13.02 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002876/0.9826, allocations: 2.747 MB / 1.368 GB, free: 10.23 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003256/0.9829, allocations: 104.5 kB / 1.368 GB, free: 10.12 MB / 1.151 GB Notification: Performance of SimCode: time 3.196e-06/0.9829, allocations: 0 / 1.368 GB, free: 10.12 MB / 1.151 GB Notification: Performance of Templates: time 0.5896/1.573, allocations: 189.2 MB / 1.553 GB, free: 432.7 MB / 1.323 GB " [Timeout remaining time 298] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 14.458455686457455]