Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.001349/0.001349, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001513/0.001513, allocations: 209.6 kB / 22.99 MB, free: 4.984 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 7.812 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 3.277/3.277, allocations: 0.49 GB / 0.7959 GB, free: 35.64 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.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.00211/0.00211, allocations: 67.66 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3674, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.0409/0.4083, allocations: 31.7 MB / 1.358 GB, free: 1.195 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.026/0.4343, allocations: 14.46 MB / 1.372 GB, free: 2.695 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003837/0.4381, allocations: 210.4 kB / 1.372 GB, free: 2.488 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01081/0.449, allocations: 3.664 MB / 1.376 GB, free: 14.81 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01055/0.4595, allocations: 2.981 MB / 1.379 GB, free: 11.82 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006996/0.4665, allocations: 2.34 MB / 1.381 GB, free: 9.477 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01298/0.4795, allocations: 8.812 MB / 1.39 GB, free: 0.6289 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009418/0.4889, allocations: 5.552 MB / 1.395 GB, free: 10.96 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008071/0.497, allocations: 4.215 MB / 1.399 GB, free: 6.73 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007838/0.5048, allocations: 4.193 MB / 1.403 GB, free: 2.523 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001884/0.5067, allocations: 0.7148 MB / 1.404 GB, free: 1.809 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004188/0.5109, allocations: 1.623 MB / 1.406 GB, free: 188 kB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.003669/0.5145, allocations: 2.887 MB / 1.408 GB, free: 13.29 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.005309/0.5199, allocations: 2.747 MB / 1.411 GB, free: 10.53 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01482/0.5347, allocations: 11.25 MB / 1.422 GB, free: 15.24 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.5347, allocations: 0 / 1.422 GB, free: 15.24 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.254e-06/0.5347, allocations: 0 / 1.422 GB, free: 15.24 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0003369/0.535, allocations: 0 / 1.422 GB, free: 15.24 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01495/0.55, allocations: 6.037 MB / 1.428 GB, free: 9.141 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.55, allocations: 8.031 kB / 1.428 GB, free: 9.133 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007207/0.5572, allocations: 1.176 MB / 1.429 GB, free: 7.953 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009576/0.5668, allocations: 3.442 MB / 1.433 GB, free: 4.422 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003374/0.5671, allocations: 374.4 kB / 1.433 GB, free: 4.055 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001435/0.5686, allocations: 500 kB / 1.433 GB, free: 3.566 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01755/0.5861, allocations: 8.705 MB / 1.442 GB, free: 10.42 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001462/0.5863, allocations: 23.83 kB / 1.442 GB, free: 10.4 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005838/0.5869, allocations: 216 kB / 1.442 GB, free: 10.19 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001141/0.588, allocations: 441.5 kB / 1.443 GB, free: 9.754 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01173/0.5997, allocations: 6.073 MB / 1.448 GB, free: 3.668 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03634/0.6361, allocations: 21.23 MB / 1.469 GB, free: 13.96 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002964/0.639, allocations: 1.912 MB / 1.471 GB, free: 12.04 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002665/0.6417, allocations: 1.74 MB / 1.473 GB, free: 10.29 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/0.6418, allocations: 18 kB / 1.473 GB, free: 10.27 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.376e-05/0.6419, allocations: 56.56 kB / 1.473 GB, free: 10.21 MB / 1.17 GB Notification: Performance of pre-optimization done (n=171): time 4.438e-06/0.6419, allocations: 4 kB / 1.473 GB, free: 10.21 MB / 1.17 GB Notification: Performance of matching and sorting (n=276): time 0.1539/0.7958, allocations: 38.67 MB / 1.511 GB, free: 3.48 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.331e-05/0.7959, allocations: 85.58 kB / 1.511 GB, free: 3.383 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00332/0.7992, allocations: 2.039 MB / 1.513 GB, free: 1.324 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0003055/0.7995, allocations: 73.7 kB / 1.513 GB, free: 1.246 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001939/0.8015, allocations: 2.355 MB / 1.515 GB, free: 14.87 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.001045/0.8025, allocations: 0.9798 MB / 1.516 GB, free: 13.88 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001023/0.8035, allocations: 0.5102 MB / 1.517 GB, free: 13.36 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.8037, allocations: 305.1 kB / 1.517 GB, free: 13.06 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003061/0.8067, allocations: 1.97 MB / 1.519 GB, free: 11.09 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003618/0.8104, allocations: 2.602 MB / 1.521 GB, free: 8.238 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006976/0.8173, allocations: 4.929 MB / 1.526 GB, free: 3.035 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-05/0.8173, allocations: 4 kB / 1.526 GB, free: 3.031 MB / 1.217 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01582/0.8332, allocations: 7.627 MB / 1.534 GB, free: 11.33 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.94e-05/0.8332, allocations: 16 kB / 1.534 GB, free: 11.32 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.788e-05/0.8332, allocations: 20 kB / 1.534 GB, free: 11.3 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01016/0.8434, allocations: 3.209 MB / 1.537 GB, free: 8.07 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001761/0.8451, allocations: 403.3 kB / 1.537 GB, free: 7.676 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04878/0.8939, allocations: 32.56 MB / 1.569 GB, free: 6.5 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003713/0.8976, allocations: 167.8 kB / 1.569 GB, free: 6.336 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005411/0.8982, allocations: 112 kB / 1.569 GB, free: 6.227 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 (202): * Single equations (assignments): 196 * 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 {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004938/0.9031, allocations: 1.797 MB / 1.571 GB, free: 4.418 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001044/0.9042, allocations: 314.1 kB / 1.571 GB, free: 4.109 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01577/0.9199, allocations: 7.228 MB / 1.578 GB, free: 12.79 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.803e-05/0.92, allocations: 27.94 kB / 1.578 GB, free: 12.77 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.017e-05/0.92, allocations: 32 kB / 1.578 GB, free: 12.73 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-05/0.9201, allocations: 15.89 kB / 1.578 GB, free: 12.72 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0247/0.9448, allocations: 11.4 MB / 1.589 GB, free: 1.172 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.497e-05/0.9448, allocations: 4 kB / 1.589 GB, free: 1.168 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009968/0.9458, allocations: 231.6 kB / 1.59 GB, free: 0.9414 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009246/0.955, allocations: 2.844 MB / 1.592 GB, free: 14.07 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002994/0.9553, allocations: 48 kB / 1.593 GB, free: 14.03 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.8642/1.82, allocations: 31.34 MB / 1.623 GB, free: 248.3 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.052e-05/1.82, allocations: 15.77 kB / 1.623 GB, free: 248.3 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0142/1.834, allocations: 6.747 MB / 1.63 GB, free: 245.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002285/1.836, allocations: 0.6965 MB / 1.63 GB, free: 245.4 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000451/1.837, allocations: 58.58 kB / 1.63 GB, free: 245.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001684/1.838, allocations: 169.1 kB / 1.631 GB, free: 245.3 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001085/1.839, allocations: 267.2 kB / 1.631 GB, free: 245.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002009/1.839, allocations: 72.38 kB / 1.631 GB, free: 245.2 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002116/1.842, allocations: 1.332 MB / 1.632 GB, free: 244.7 MB / 1.295 GB Notification: Performance of sort global known variables: time 9.1e-08/1.842, allocations: 0 / 1.632 GB, free: 244.7 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004599/1.846, allocations: 1.368 MB / 1.634 GB, free: 244.6 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 (105): * Single equations (assignments): 99 * 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 {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003577/1.847, allocations: 176.4 kB / 1.634 GB, free: 244.4 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01175/1.858, allocations: 6.567 MB / 1.64 GB, free: 241.5 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-05/1.858, allocations: 2.312 kB / 1.64 GB, free: 241.5 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.007101/1.865, allocations: 4.259 MB / 1.644 GB, free: 239.5 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004251/1.87, allocations: 1.009 MB / 1.645 GB, free: 239.2 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01514/1.885, allocations: 10.35 MB / 1.655 GB, free: 234.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003551/1.888, allocations: 3.11 MB / 1.658 GB, free: 233.9 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001819/1.89, allocations: 0.5329 MB / 1.659 GB, free: 233.8 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003612/1.891, allocations: 146 kB / 1.659 GB, free: 233.8 MB / 1.295 GB Notification: Performance of SimCode: time 1.463e-06/1.891, allocations: 0 / 1.659 GB, free: 233.8 MB / 1.295 GB Notification: Performance of Templates: time 0.1056/1.996, allocations: 83.21 MB / 1.74 GB, free: 155.1 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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: 12.711784694998641]