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.001783/0.001783, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002244/0.002244, allocations: 221.1 kB / 23 MB, free: 4.914 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.548/1.548, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.303/3.303, allocations: 0.4892 GB / 0.7951 GB, free: 35.46 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.002104/0.002104, allocations: 69.19 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4214/0.4235, allocations: 176.1 MB / 1.326 GB, free: 1.891 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04477/0.4683, allocations: 31.7 MB / 1.357 GB, free: 2.086 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02939/0.4977, allocations: 14.46 MB / 1.371 GB, free: 3.59 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004629/0.5023, allocations: 210.4 kB / 1.372 GB, free: 3.383 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01155/0.5138, allocations: 3.669 MB / 1.375 GB, free: 15.71 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01098/0.5248, allocations: 2.976 MB / 1.378 GB, free: 12.71 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.007729/0.5325, allocations: 2.349 MB / 1.38 GB, free: 10.37 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01463/0.5472, allocations: 8.812 MB / 1.389 GB, free: 1.52 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01033/0.5575, allocations: 5.479 MB / 1.394 GB, free: 11.92 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009054/0.5666, allocations: 4.223 MB / 1.398 GB, free: 7.684 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009003/0.5756, allocations: 3.932 MB / 1.402 GB, free: 3.738 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002875/0.5784, allocations: 0.7109 MB / 1.403 GB, free: 3.027 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005783/0.5842, allocations: 1.615 MB / 1.405 GB, free: 1.41 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.005643/0.5899, allocations: 2.891 MB / 1.407 GB, free: 14.51 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.008166/0.598, allocations: 2.743 MB / 1.41 GB, free: 11.76 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01951/0.6175, allocations: 11.26 MB / 1.421 GB, free: 476 kB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.6175, allocations: 4 kB / 1.421 GB, free: 472 kB / 1.107 GB Notification: Performance of FrontEnd: time 2.595e-06/0.6175, allocations: 0 / 1.421 GB, free: 472 kB / 1.107 GB Notification: Performance of Transformations before backend: time 0.000473/0.618, allocations: 0 / 1.421 GB, free: 472 kB / 1.107 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.02038/0.6384, allocations: 6.033 MB / 1.427 GB, free: 10.36 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.6385, allocations: 12.03 kB / 1.427 GB, free: 10.35 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008438/0.6469, allocations: 1.168 MB / 1.428 GB, free: 9.18 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01014/0.657, allocations: 3.446 MB / 1.431 GB, free: 5.645 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004368/0.6575, allocations: 378.4 kB / 1.432 GB, free: 5.273 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002124/0.6596, allocations: 0.4883 MB / 1.432 GB, free: 4.785 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02019/0.6798, allocations: 8.701 MB / 1.441 GB, free: 11.64 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001922/0.68, allocations: 27.78 kB / 1.441 GB, free: 11.62 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008961/0.6809, allocations: 212 kB / 1.441 GB, free: 11.41 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001164/0.682, allocations: 437.6 kB / 1.441 GB, free: 10.98 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01986/0.7019, allocations: 6.077 MB / 1.447 GB, free: 4.891 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05533/0.7572, allocations: 21.23 MB / 1.468 GB, free: 15.18 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003687/0.7609, allocations: 1.909 MB / 1.47 GB, free: 13.27 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003169/0.7641, allocations: 1.748 MB / 1.472 GB, free: 11.52 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001736/0.7643, allocations: 18 kB / 1.472 GB, free: 11.5 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.111e-05/0.7643, allocations: 60.55 kB / 1.472 GB, free: 11.43 MB / 1.17 GB Notification: Performance of pre-optimization done (n=171): time 4.779e-06/0.7643, allocations: 0 / 1.472 GB, free: 11.43 MB / 1.17 GB Notification: Performance of matching and sorting (n=276): time 0.1574/0.9217, allocations: 38.68 MB / 1.51 GB, free: 4.699 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.635e-05/0.9218, allocations: 77.58 kB / 1.51 GB, free: 4.609 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003594/0.9254, allocations: 2.039 MB / 1.512 GB, free: 2.551 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0004652/0.9259, allocations: 73.7 kB / 1.512 GB, free: 2.473 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.002008/0.9279, allocations: 2.348 MB / 1.514 GB, free: 104 kB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.001312/0.9292, allocations: 0.984 MB / 1.515 GB, free: 15.11 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001146/0.9304, allocations: 0.5025 MB / 1.515 GB, free: 14.59 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.9305, allocations: 301.1 kB / 1.516 GB, free: 14.3 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003265/0.9338, allocations: 1.981 MB / 1.518 GB, free: 12.31 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003838/0.9376, allocations: 2.602 MB / 1.52 GB, free: 9.465 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007848/0.9454, allocations: 4.929 MB / 1.525 GB, free: 4.262 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.531e-05/0.9455, allocations: 4 kB / 1.525 GB, free: 4.258 MB / 1.217 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01634/0.9618, allocations: 7.626 MB / 1.532 GB, free: 12.57 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 4.025e-05/0.9618, allocations: 12 kB / 1.532 GB, free: 12.55 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.954e-05/0.9619, allocations: 16 kB / 1.532 GB, free: 12.54 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009808/0.9717, allocations: 3.213 MB / 1.536 GB, free: 9.309 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001857/0.9735, allocations: 395.4 kB / 1.536 GB, free: 8.922 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0509/1.024, allocations: 32.58 MB / 1.568 GB, free: 7.723 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00394/1.028, allocations: 159.8 kB / 1.568 GB, free: 7.566 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005091/1.029, allocations: 108.2 kB / 1.568 GB, free: 7.461 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.004764/1.034, allocations: 1.801 MB / 1.57 GB, free: 5.648 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001017/1.035, allocations: 326 kB / 1.57 GB, free: 5.328 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01568/1.05, allocations: 7.221 MB / 1.577 GB, free: 14.02 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.369e-05/1.05, allocations: 28 kB / 1.577 GB, free: 14 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.099e-05/1.05, allocations: 28 kB / 1.577 GB, free: 13.97 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.452e-05/1.051, allocations: 19.88 kB / 1.577 GB, free: 13.95 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02538/1.076, allocations: 11.4 MB / 1.588 GB, free: 2.398 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.631e-05/1.076, allocations: 8.844 kB / 1.588 GB, free: 2.391 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001096/1.077, allocations: 231.6 kB / 1.589 GB, free: 2.164 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008622/1.086, allocations: 2.84 MB / 1.591 GB, free: 15.3 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003534/1.086, allocations: 56 kB / 1.591 GB, free: 15.25 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.9679/2.054, allocations: 31.34 MB / 1.622 GB, free: 249.4 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.866e-05/2.054, allocations: 10.62 kB / 1.622 GB, free: 249.4 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01497/2.069, allocations: 6.754 MB / 1.629 GB, free: 246.7 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002743/2.072, allocations: 0.6918 MB / 1.629 GB, free: 246.5 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000844/2.072, allocations: 56.84 kB / 1.629 GB, free: 246.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002108/2.075, allocations: 169.2 kB / 1.63 GB, free: 246.4 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001113/2.076, allocations: 270.6 kB / 1.63 GB, free: 246.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002002/2.076, allocations: 72.12 kB / 1.63 GB, free: 246.4 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002288/2.078, allocations: 1.332 MB / 1.631 GB, free: 245.9 MB / 1.295 GB Notification: Performance of sort global known variables: time 7e-08/2.078, allocations: 0 / 1.631 GB, free: 245.9 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.005736/2.084, allocations: 1.363 MB / 1.632 GB, free: 245.7 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.0005087/2.084, allocations: 176.1 kB / 1.633 GB, free: 245.6 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01228/2.097, allocations: 6.558 MB / 1.639 GB, free: 242.7 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 2.306e-05/2.097, allocations: 3.703 kB / 1.639 GB, free: 242.7 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.007589/2.104, allocations: 4.27 MB / 1.643 GB, free: 240.7 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004537/2.109, allocations: 1.001 MB / 1.644 GB, free: 240.4 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01787/2.127, allocations: 11.04 MB / 1.655 GB, free: 235.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004252/2.131, allocations: 3.222 MB / 1.658 GB, free: 234.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007695/2.132, allocations: 157.7 kB / 1.658 GB, free: 234.6 MB / 1.295 GB Notification: Performance of SimCode: time 2.274e-06/2.132, allocations: 0 / 1.658 GB, free: 234.6 MB / 1.295 GB Notification: Performance of Templates: time 0.1875/2.319, allocations: 228 MB / 1.881 GB, free: 10.29 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 -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: 27.32088196091354]