Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001573/0.001573, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001868/0.001868, allocations: 217.4 kB / 23.01 MB, free: 4.609 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.836/2.836, allocations: 476.8 MB / 0.7714 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.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_11_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_11_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.002073/0.002073, allocations: 64.66 kB / 1.119 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.375, allocations: 170 MB / 1.285 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04363/0.4187, allocations: 34.83 MB / 1.319 GB, free: 8.258 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02687/0.4455, allocations: 15.3 MB / 1.334 GB, free: 8.918 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004246/0.4498, allocations: 218.3 kB / 1.334 GB, free: 8.703 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01091/0.4607, allocations: 3.814 MB / 1.338 GB, free: 4.879 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01001/0.4707, allocations: 3.012 MB / 1.34 GB, free: 1.852 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.007206/0.4779, allocations: 2.382 MB / 1.343 GB, free: 15.46 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0142/0.4921, allocations: 8.821 MB / 1.351 GB, free: 6.621 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01031/0.5024, allocations: 5.553 MB / 1.357 GB, free: 0.9492 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008172/0.5106, allocations: 4.199 MB / 1.361 GB, free: 12.74 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008141/0.5187, allocations: 4.189 MB / 1.365 GB, free: 8.535 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.002246/0.521, allocations: 0.7109 MB / 1.366 GB, free: 7.824 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004912/0.5259, allocations: 1.744 MB / 1.367 GB, free: 6.078 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.004268/0.5301, allocations: 2.883 MB / 1.37 GB, free: 3.188 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00704/0.5372, allocations: 3.388 MB / 1.374 GB, free: 15.78 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01724/0.5544, allocations: 11.19 MB / 1.384 GB, free: 4.559 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.5544, allocations: 0 / 1.384 GB, free: 4.559 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.913e-06/0.5544, allocations: 8 kB / 1.384 GB, free: 4.551 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0004029/0.5548, allocations: 0 / 1.384 GB, free: 4.551 MB / 1.076 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.01711/0.572, allocations: 6.041 MB / 1.39 GB, free: 14.44 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.572, allocations: 8.031 kB / 1.39 GB, free: 14.43 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007308/0.5793, allocations: 1.164 MB / 1.392 GB, free: 13.27 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009672/0.589, allocations: 3.454 MB / 1.395 GB, free: 9.723 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003981/0.5894, allocations: 374.4 kB / 1.395 GB, free: 9.355 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001941/0.5913, allocations: 0.496 MB / 1.396 GB, free: 8.863 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01842/0.6097, allocations: 7.977 MB / 1.404 GB, free: 0.6211 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001599/0.6099, allocations: 23.78 kB / 1.404 GB, free: 0.5977 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006878/0.6106, allocations: 216 kB / 1.404 GB, free: 396 kB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001093/0.6117, allocations: 437.6 kB / 1.404 GB, free: 15.95 MB / 1.108 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0138/0.6255, allocations: 6.085 MB / 1.41 GB, free: 9.859 MB / 1.108 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05072/0.6762, allocations: 34.65 MB / 1.444 GB, free: 4.023 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003166/0.6794, allocations: 1.916 MB / 1.446 GB, free: 2.098 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002702/0.6821, allocations: 1.744 MB / 1.448 GB, free: 364 kB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001272/0.6822, allocations: 22 kB / 1.448 GB, free: 340 kB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.551e-05/0.6823, allocations: 60.5 kB / 1.448 GB, free: 272 kB / 1.139 GB Notification: Performance of pre-optimization done (n=171): time 3.937e-06/0.6823, allocations: 0 / 1.448 GB, free: 272 kB / 1.139 GB Notification: Performance of matching and sorting (n=276): time 0.1495/0.8318, allocations: 38.7 MB / 1.485 GB, free: 9.512 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.805e-05/0.8318, allocations: 77.58 kB / 1.485 GB, free: 9.422 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00426/0.8361, allocations: 2.282 MB / 1.488 GB, free: 7.125 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0005009/0.8366, allocations: 73.7 kB / 1.488 GB, free: 7.047 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.002113/0.8387, allocations: 2.342 MB / 1.49 GB, free: 4.684 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.001253/0.84, allocations: 0.9798 MB / 1.491 GB, free: 3.695 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001018/0.841, allocations: 0.5103 MB / 1.491 GB, free: 3.176 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.8411, allocations: 309.1 kB / 1.492 GB, free: 2.871 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003207/0.8443, allocations: 1.97 MB / 1.494 GB, free: 0.8984 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003925/0.8483, allocations: 2.599 MB / 1.496 GB, free: 14.05 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007858/0.8561, allocations: 4.933 MB / 1.501 GB, free: 8.848 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-05/0.8561, allocations: 8 kB / 1.501 GB, free: 8.84 MB / 1.201 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01663/0.8728, allocations: 7.642 MB / 1.509 GB, free: 1.129 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.635e-05/0.8728, allocations: 19.98 kB / 1.509 GB, free: 1.109 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.803e-05/0.8729, allocations: 16 kB / 1.509 GB, free: 1.094 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009938/0.8828, allocations: 3.218 MB / 1.512 GB, free: 13.86 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001819/0.8846, allocations: 407.3 kB / 1.512 GB, free: 13.46 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0506/0.9352, allocations: 33.29 MB / 1.545 GB, free: 11.47 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003027/0.9382, allocations: 159.8 kB / 1.545 GB, free: 11.32 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003589/0.9386, allocations: 108 kB / 1.545 GB, free: 11.21 MB / 1.248 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.003646/0.9422, allocations: 1.797 MB / 1.547 GB, free: 9.402 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009185/0.9432, allocations: 341.9 kB / 1.547 GB, free: 9.066 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01528/0.9584, allocations: 7.247 MB / 1.554 GB, free: 1.738 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.82e-05/0.9585, allocations: 28 kB / 1.554 GB, free: 1.711 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-05/0.9586, allocations: 28 kB / 1.554 GB, free: 1.684 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.986e-05/0.9586, allocations: 11.95 kB / 1.554 GB, free: 1.672 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02684/0.9855, allocations: 12.79 MB / 1.567 GB, free: 4.707 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.933e-05/0.9855, allocations: 12.31 kB / 1.567 GB, free: 4.695 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/0.9866, allocations: 235.6 kB / 1.567 GB, free: 4.465 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008772/0.9954, allocations: 2.846 MB / 1.57 GB, free: 1.602 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003887/0.9958, allocations: 52 kB / 1.57 GB, free: 1.551 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04973/1.045, allocations: 32.08 MB / 1.601 GB, free: 0.7617 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-05/1.046, allocations: 11.94 kB / 1.601 GB, free: 0.75 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.8088/1.854, allocations: 6.775 MB / 1.608 GB, free: 288.7 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002681/1.857, allocations: 0.7262 MB / 1.608 GB, free: 288.7 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008719/1.858, allocations: 59.19 kB / 1.608 GB, free: 288.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00209/1.86, allocations: 170 kB / 1.609 GB, free: 288.7 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001051/1.861, allocations: 261.1 kB / 1.609 GB, free: 288.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002629/1.861, allocations: 72.62 kB / 1.609 GB, free: 288.7 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.003754/1.865, allocations: 1.53 MB / 1.61 GB, free: 288.6 MB / 1.295 GB Notification: Performance of sort global known variables: time 9.1e-08/1.865, allocations: 0.5312 kB / 1.61 GB, free: 288.6 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.007273/1.872, allocations: 1.37 MB / 1.612 GB, free: 288.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.0006784/1.873, allocations: 177 kB / 1.612 GB, free: 288.4 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01236/1.885, allocations: 6.57 MB / 1.618 GB, free: 287.1 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.446e-05/1.885, allocations: 2.781 kB / 1.618 GB, free: 287.1 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.007959/1.893, allocations: 4.249 MB / 1.622 GB, free: 285.1 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005317/1.899, allocations: 1.113 MB / 1.624 GB, free: 284.8 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01929/1.918, allocations: 11.07 MB / 1.634 GB, free: 279.8 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004424/1.922, allocations: 3.746 MB / 1.638 GB, free: 278.5 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008393/1.923, allocations: 175.3 kB / 1.638 GB, free: 278.5 MB / 1.295 GB Notification: Performance of SimCode: time 1.774e-06/1.923, allocations: 0.7188 kB / 1.638 GB, free: 278.5 MB / 1.295 GB Notification: Performance of Templates: time 0.1796/2.103, allocations: 227.9 MB / 1.861 GB, free: 59.05 MB / 1.295 GB " [Timeout remaining time 297] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 27.054329635982867]