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.001451/0.001451, allocations: 80.41 kB / 20.23 MB, free: 4.195 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.00159/0.00159, allocations: 165.7 kB / 23.55 MB, free: 0.8828 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 1.479/1.479, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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 2.691/2.691, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] 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 2.144e-06/2.144e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.303e-05/3.518e-05, allocations: 5.266 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.03166/0.03169, allocations: 21.84 MB / 0.8077 GB, free: 6.887 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01453/0.04622, allocations: 6.401 MB / 0.814 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002435/0.04866, allocations: 131 kB / 0.8141 GB, free: 372 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.005343/0.054, allocations: 1.513 MB / 0.8156 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.00627/0.06027, allocations: 1.988 MB / 0.8175 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.005031/0.0653, allocations: 1.474 MB / 0.819 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.01093/0.07623, allocations: 7.024 MB / 0.8258 GB, free: 4.348 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009772/0.086, allocations: 3.751 MB / 0.8295 GB, free: 0.5039 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009207/0.09521, allocations: 4.009 MB / 0.8334 GB, free: 12.49 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008073/0.1033, allocations: 3.41 MB / 0.8367 GB, free: 9.074 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.002261/0.1055, allocations: 0.5273 MB / 0.8372 GB, free: 8.547 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004102/0.1096, allocations: 1.127 MB / 0.8383 GB, free: 7.418 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.005628/0.1153, allocations: 2.662 MB / 0.8409 GB, free: 4.75 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.005752/0.121, allocations: 1.754 MB / 0.8427 GB, free: 2.992 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.014/0.135, allocations: 8.691 MB / 0.8511 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.135, allocations: 8 kB / 0.8511 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.643e-06/0.135, allocations: 0 / 0.8511 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0002671/0.1353, allocations: 0 / 0.8511 GB, free: 10.27 MB / 0.8073 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.0116/0.1469, allocations: 4.429 MB / 0.8555 GB, free: 5.785 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.1469, allocations: 8.031 kB / 0.8555 GB, free: 5.777 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01002/0.157, allocations: 2.288 MB / 0.8577 GB, free: 3.484 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007251/0.1642, allocations: 2.781 MB / 0.8604 GB, free: 0.6523 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004029/0.1646, allocations: 279.6 kB / 0.8607 GB, free: 388 kB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001726/0.1663, allocations: 368.3 kB / 0.8611 GB, free: 20 kB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01855/0.1849, allocations: 7.705 MB / 0.8686 GB, free: 7.992 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001107/0.185, allocations: 20.06 kB / 0.8686 GB, free: 7.973 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005856/0.1856, allocations: 160.2 kB / 0.8687 GB, free: 7.816 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007208/0.1863, allocations: 491.3 kB / 0.8692 GB, free: 7.336 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01263/0.1989, allocations: 5.693 MB / 0.8748 GB, free: 1.637 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0363/0.2352, allocations: 20.06 MB / 0.8944 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003655/0.2389, allocations: 2.015 MB / 0.8963 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003519/0.2424, allocations: 2.112 MB / 0.8984 GB, free: 8.984 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001591/0.2426, allocations: 25.31 kB / 0.8984 GB, free: 8.957 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.937e-05/0.2426, allocations: 43.88 kB / 0.8985 GB, free: 8.906 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=146): time 3.226e-06/0.2426, allocations: 0 / 0.8985 GB, free: 8.906 MB / 0.8542 GB Notification: Performance of matching and sorting (n=251): time 0.3195/0.5622, allocations: 76.77 MB / 0.9734 GB, free: 12 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.45e-05/0.5622, allocations: 81.39 kB / 0.9735 GB, free: 11.91 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002603/0.5648, allocations: 1.61 MB / 0.9751 GB, free: 10.3 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003914/0.5652, allocations: 65.7 kB / 0.9751 GB, free: 10.23 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001658/0.5669, allocations: 1.791 MB / 0.9769 GB, free: 8.426 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001158/0.5681, allocations: 0.8868 MB / 0.9778 GB, free: 7.531 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001191/0.5692, allocations: 489.3 kB / 0.9782 GB, free: 7.047 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.5694, allocations: 305.1 kB / 0.9785 GB, free: 6.746 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004893/0.5743, allocations: 2.73 MB / 0.9812 GB, free: 4.012 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00525/0.5796, allocations: 3.328 MB / 0.9844 GB, free: 448 kB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01053/0.5901, allocations: 6.397 MB / 0.9907 GB, free: 9.801 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-05/0.5901, allocations: 4 kB / 0.9907 GB, free: 9.797 MB / 0.948 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03686/0.627, allocations: 14.52 MB / 1.005 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.709e-05/0.627, allocations: 14.19 kB / 1.005 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.682e-05/0.627, allocations: 23.92 kB / 1.005 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0343/0.6613, allocations: 9.468 MB / 1.014 GB, free: 1.699 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.6627, allocations: 299.5 kB / 1.014 GB, free: 1.406 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4734/1.136, allocations: 51.02 MB / 1.064 GB, free: 270 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002819/1.139, allocations: 224.3 kB / 1.064 GB, free: 269.9 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003561/1.139, allocations: 102.1 kB / 1.065 GB, free: 269.9 MB / 0.9948 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.002339/1.142, allocations: 1.578 MB / 1.066 GB, free: 269.3 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000774/1.142, allocations: 328.6 kB / 1.066 GB, free: 269.2 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03156/1.174, allocations: 14.48 MB / 1.081 GB, free: 265.4 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.445e-05/1.174, allocations: 27.78 kB / 1.081 GB, free: 265.4 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002749/1.174, allocations: 45.06 kB / 1.081 GB, free: 265.4 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.341e-05/1.174, allocations: 11.77 kB / 1.081 GB, free: 265.4 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0381/1.212, allocations: 18.93 MB / 1.099 GB, free: 259.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.71e-05/1.212, allocations: 7.438 kB / 1.099 GB, free: 259.8 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007524/1.213, allocations: 159.7 kB / 1.099 GB, free: 259.8 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0284/1.242, allocations: 9.252 MB / 1.108 GB, free: 258.5 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004438/1.242, allocations: 48.05 kB / 1.108 GB, free: 258.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0648/1.307, allocations: 50.6 MB / 1.158 GB, free: 211.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/1.307, allocations: 12.88 kB / 1.158 GB, free: 211.6 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02633/1.333, allocations: 14.15 MB / 1.172 GB, free: 197.4 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001978/1.335, allocations: 0.7715 MB / 1.172 GB, free: 196.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004164/1.336, allocations: 55.94 kB / 1.172 GB, free: 196.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001775/1.337, allocations: 207.7 kB / 1.173 GB, free: 196.3 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00126/1.339, allocations: 253.3 kB / 1.173 GB, free: 196.1 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002126/1.339, allocations: 64.88 kB / 1.173 GB, free: 196 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001084/1.34, allocations: 1.06 MB / 1.174 GB, free: 195 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9e-08/1.34, allocations: 4 kB / 1.174 GB, free: 195 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.004/1.344, allocations: 1.621 MB / 1.176 GB, free: 193.3 MB / 0.9948 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.0003458/1.344, allocations: 161.3 kB / 1.176 GB, free: 193.2 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01798/1.362, allocations: 10.2 MB / 1.186 GB, free: 182.9 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.417e-05/1.362, allocations: 4.062 kB / 1.186 GB, free: 182.9 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.01489/1.377, allocations: 7.013 MB / 1.193 GB, free: 175.9 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002912/1.38, allocations: 0.5426 MB / 1.193 GB, free: 175.4 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01238/1.392, allocations: 9.01 MB / 1.202 GB, free: 166.3 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002841/1.395, allocations: 2.673 MB / 1.204 GB, free: 163.6 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.00106/1.396, allocations: 386.8 kB / 1.205 GB, free: 163.2 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002295/1.397, allocations: 92.5 kB / 1.205 GB, free: 163.1 MB / 0.9948 GB Notification: Performance of SimCode: time 1.262e-06/1.397, allocations: 0 / 1.205 GB, free: 163.1 MB / 0.9948 GB Notification: Performance of Templates: time 0.1097/1.506, allocations: 97.64 MB / 1.3 GB, free: 65.79 MB / 0.9948 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: 10.89545858092606]