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.001518/0.001518, allocations: 114.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.001832/0.001832, allocations: 194.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.423/1.423, allocations: 225.6 MB / 250.9 MB, free: 13.3 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.748/2.748, allocations: 476.7 MB / 0.7645 GB, free: 10.08 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.002035/0.002035, allocations: 59.91 kB / 1.109 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7941/0.7961, allocations: 168.7 MB / 1.274 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02974/0.8259, allocations: 24.46 MB / 1.298 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01366/0.8395, allocations: 6.656 MB / 1.304 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002452/0.842, allocations: 95.5 kB / 1.305 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005142/0.8471, allocations: 1.562 MB / 1.306 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005279/0.8524, allocations: 1.937 MB / 1.308 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004057/0.8564, allocations: 1.501 MB / 1.309 GB, free: 264 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009296/0.8657, allocations: 6.904 MB / 1.316 GB, free: 9.336 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00706/0.8728, allocations: 3.485 MB / 1.32 GB, free: 5.762 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006373/0.8792, allocations: 2.878 MB / 1.322 GB, free: 2.875 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006656/0.8858, allocations: 3.735 MB / 1.326 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001487/0.8873, allocations: 0.5312 MB / 1.327 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002941/0.8903, allocations: 1.194 MB / 1.328 GB, free: 13.4 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.002993/0.8932, allocations: 2.529 MB / 1.33 GB, free: 10.87 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.003471/0.8967, allocations: 2.532 MB / 1.333 GB, free: 8.324 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.009619/0.9063, allocations: 8.541 MB / 1.341 GB, free: 15.75 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.9063, allocations: 0 / 1.341 GB, free: 15.75 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.462e-06/0.9063, allocations: 0 / 1.341 GB, free: 15.75 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002261/0.9066, allocations: 0 / 1.341 GB, free: 15.75 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.0105/0.9171, allocations: 4.547 MB / 1.345 GB, free: 11.14 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.9171, allocations: 12.03 kB / 1.345 GB, free: 11.12 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009792/0.9269, allocations: 1.699 MB / 1.347 GB, free: 9.422 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009628/0.9365, allocations: 2.709 MB / 1.35 GB, free: 6.66 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003822/0.9369, allocations: 279.7 kB / 1.35 GB, free: 6.387 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00188/0.9388, allocations: 360.3 kB / 1.35 GB, free: 6.035 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02254/0.9613, allocations: 7.491 MB / 1.358 GB, free: 14.28 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000151/0.9615, allocations: 15.92 kB / 1.358 GB, free: 14.26 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001128/0.9626, allocations: 163.9 kB / 1.358 GB, free: 14.1 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001025/0.9636, allocations: 487.3 kB / 1.358 GB, free: 13.62 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01444/0.9781, allocations: 5.697 MB / 1.364 GB, free: 7.922 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04436/1.022, allocations: 31.55 MB / 1.395 GB, free: 5.602 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003476/1.026, allocations: 2.022 MB / 1.397 GB, free: 3.57 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003413/1.029, allocations: 2.108 MB / 1.399 GB, free: 1.461 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001621/1.029, allocations: 17.31 kB / 1.399 GB, free: 1.445 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001051/1.03, allocations: 47.88 kB / 1.399 GB, free: 1.387 MB / 1.092 GB Notification: Performance of pre-optimization done (n=146): time 3.717e-06/1.03, allocations: 0 / 1.399 GB, free: 1.387 MB / 1.092 GB Notification: Performance of matching and sorting (n=251): time 0.3315/1.361, allocations: 76.8 MB / 1.474 GB, free: 4.445 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.029e-05/1.361, allocations: 77.41 kB / 1.474 GB, free: 4.355 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002923/1.364, allocations: 1.682 MB / 1.475 GB, free: 2.629 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0004091/1.365, allocations: 61.7 kB / 1.476 GB, free: 2.562 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001485/1.366, allocations: 1.788 MB / 1.477 GB, free: 0.7617 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.001119/1.367, allocations: 0.8985 MB / 1.478 GB, free: 15.86 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001168/1.368, allocations: 489.3 kB / 1.479 GB, free: 15.37 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001331/1.368, allocations: 301.1 kB / 1.479 GB, free: 15.07 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004211/1.373, allocations: 2.73 MB / 1.482 GB, free: 12.34 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004762/1.377, allocations: 3.335 MB / 1.485 GB, free: 8.762 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01036/1.388, allocations: 6.397 MB / 1.491 GB, free: 2.125 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.538e-05/1.388, allocations: 4 kB / 1.491 GB, free: 2.121 MB / 1.186 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03618/1.424, allocations: 14.41 MB / 1.505 GB, free: 3.664 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 5.085e-05/1.424, allocations: 12 kB / 1.505 GB, free: 3.652 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.199e-05/1.424, allocations: 16 kB / 1.505 GB, free: 3.637 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03211/1.456, allocations: 9.234 MB / 1.514 GB, free: 10.38 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/1.457, allocations: 307.4 kB / 1.515 GB, free: 10.07 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09038/1.548, allocations: 52.4 MB / 1.566 GB, free: 4.781 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003064/1.551, allocations: 223.7 kB / 1.566 GB, free: 4.562 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004845/1.551, allocations: 96 kB / 1.566 GB, free: 4.469 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.002963/1.554, allocations: 1.578 MB / 1.568 GB, free: 2.879 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000729/1.555, allocations: 262.5 kB / 1.568 GB, free: 2.621 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03467/1.59, allocations: 14.47 MB / 1.582 GB, free: 4.09 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.989e-05/1.59, allocations: 24 kB / 1.582 GB, free: 4.066 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001645/1.59, allocations: 48 kB / 1.582 GB, free: 4.02 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.761e-05/1.59, allocations: 11.95 kB / 1.582 GB, free: 4.008 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7264/2.316, allocations: 20.23 MB / 1.602 GB, free: 294.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.905e-05/2.316, allocations: 10 kB / 1.602 GB, free: 294.4 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008861/2.317, allocations: 163.5 kB / 1.602 GB, free: 294.4 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03538/2.353, allocations: 9.009 MB / 1.611 GB, free: 294.3 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005222/2.353, allocations: 47.44 kB / 1.611 GB, free: 294.3 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07108/2.424, allocations: 51.97 MB / 1.662 GB, free: 270.9 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/2.424, allocations: 11.94 kB / 1.662 GB, free: 270.9 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02863/2.453, allocations: 14.09 MB / 1.675 GB, free: 259.2 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00246/2.455, allocations: 0.8585 MB / 1.676 GB, free: 258.4 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008524/2.456, allocations: 45.08 kB / 1.676 GB, free: 258.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002562/2.459, allocations: 215.7 kB / 1.676 GB, free: 258.1 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001348/2.46, allocations: 237.5 kB / 1.677 GB, free: 257.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002859/2.46, allocations: 68 kB / 1.677 GB, free: 257.8 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.00165/2.462, allocations: 1.125 MB / 1.678 GB, free: 256.7 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/2.462, allocations: 0 / 1.678 GB, free: 256.7 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.005235/2.467, 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.0004981/2.468, allocations: 169.4 kB / 1.68 GB, free: 254.9 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0202/2.488, allocations: 10.19 MB / 1.689 GB, free: 244.7 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.34e-05/2.488, allocations: 4 kB / 1.689 GB, free: 244.6 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01629/2.504, allocations: 7.027 MB / 1.696 GB, free: 237.6 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00348/2.508, allocations: 0.548 MB / 1.697 GB, free: 237.1 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01474/2.523, allocations: 8.938 MB / 1.706 GB, free: 228 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004066/2.527, allocations: 3.224 MB / 1.709 GB, free: 224.8 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001181/2.528, allocations: 395.3 kB / 1.709 GB, free: 224.4 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003172/2.528, allocations: 107.4 kB / 1.709 GB, free: 224.3 MB / 1.295 GB Notification: Performance of SimCode: time 1.443e-06/2.528, allocations: 0 / 1.709 GB, free: 224.3 MB / 1.295 GB Notification: Performance of Templates: time 0.118/2.646, allocations: 95.23 MB / 1.802 GB, free: 129.3 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 gbode -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.777443216182292]