Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001366/0.001366, 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.001601/0.001601, allocations: 220.6 kB / 22.99 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.537/1.537, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.342/3.342, allocations: 0.4892 GB / 0.7951 GB, free: 35.71 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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [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.00216/0.00216, allocations: 68.53 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.4016, allocations: 176.1 MB / 1.326 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04588/0.4474, allocations: 33.68 MB / 1.359 GB, free: 100 kB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02076/0.4682, allocations: 10.04 MB / 1.369 GB, free: 6.035 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004831/0.473, allocations: 186.6 kB / 1.369 GB, free: 5.852 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01168/0.4847, allocations: 3.83 MB / 1.373 GB, free: 2.016 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.007533/0.4922, allocations: 2.142 MB / 1.375 GB, free: 15.86 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006429/0.4987, allocations: 1.963 MB / 1.377 GB, free: 13.9 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01235/0.511, allocations: 7.964 MB / 1.385 GB, free: 5.91 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009588/0.5206, allocations: 5.237 MB / 1.39 GB, free: 0.5508 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007138/0.5277, allocations: 3.486 MB / 1.393 GB, free: 13.05 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007718/0.5355, allocations: 3.699 MB / 1.397 GB, free: 9.344 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002379/0.5378, allocations: 0.6797 MB / 1.397 GB, free: 8.664 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004831/0.5427, allocations: 1.358 MB / 1.399 GB, free: 7.305 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.004568/0.5472, allocations: 2.689 MB / 1.401 GB, free: 4.609 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.006263/0.5535, allocations: 2.51 MB / 1.404 GB, free: 2.09 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01497/0.5685, allocations: 10.47 MB / 1.414 GB, free: 7.586 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.5685, allocations: 0 / 1.414 GB, free: 7.586 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5685, allocations: 0 / 1.414 GB, free: 7.586 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0003479/0.5688, allocations: 0 / 1.414 GB, free: 7.586 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.0162/0.585, allocations: 5.459 MB / 1.419 GB, free: 2.066 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/0.5851, allocations: 12.03 kB / 1.419 GB, free: 2.055 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005586/0.5907, allocations: 0.9889 MB / 1.42 GB, free: 1.062 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008576/0.5992, allocations: 3.132 MB / 1.423 GB, free: 13.86 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003465/0.5996, allocations: 357.9 kB / 1.424 GB, free: 13.51 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001769/0.6014, allocations: 464.3 kB / 1.424 GB, free: 13.06 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01766/0.619, allocations: 8.675 MB / 1.433 GB, free: 3.836 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001328/0.6191, allocations: 19.83 kB / 1.433 GB, free: 3.816 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007204/0.6199, allocations: 208 kB / 1.433 GB, free: 3.613 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006072/0.6205, allocations: 377 kB / 1.433 GB, free: 3.242 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0139/0.6344, allocations: 5.926 MB / 1.439 GB, free: 13.3 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04036/0.6747, allocations: 22.94 MB / 1.462 GB, free: 5.691 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003672/0.6784, allocations: 1.991 MB / 1.463 GB, free: 3.684 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002043/0.6804, allocations: 1.333 MB / 1.465 GB, free: 2.359 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 9.055e-05/0.6805, allocations: 17.31 kB / 1.465 GB, free: 2.34 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.764e-05/0.6806, allocations: 55.81 kB / 1.465 GB, free: 2.277 MB / 1.154 GB Notification: Performance of pre-optimization done (n=157): time 4.268e-06/0.6806, allocations: 0 / 1.465 GB, free: 2.277 MB / 1.154 GB Notification: Performance of matching and sorting (n=160): time 0.01487/0.6955, allocations: 6.647 MB / 1.471 GB, free: 11.59 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.835e-05/0.6955, allocations: 68.72 kB / 1.471 GB, free: 11.51 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002703/0.6982, allocations: 1.713 MB / 1.473 GB, free: 9.758 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002163/0.6985, allocations: 53.7 kB / 1.473 GB, free: 9.699 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001801/0.7003, allocations: 2.195 MB / 1.475 GB, free: 7.484 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.000669/0.7009, allocations: 0.5887 MB / 1.476 GB, free: 6.891 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006626/0.7016, allocations: 400 kB / 1.476 GB, free: 6.492 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.7017, allocations: 309.1 kB / 1.476 GB, free: 6.188 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001677/0.7034, allocations: 1.055 MB / 1.478 GB, free: 5.129 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002311/0.7057, allocations: 1.768 MB / 1.479 GB, free: 3.039 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004289/0.71, allocations: 3.045 MB / 1.482 GB, free: 15.68 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.871e-05/0.71, allocations: 8 kB / 1.482 GB, free: 15.68 MB / 1.186 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007086/0.7171, allocations: 3.887 MB / 1.486 GB, free: 11.74 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.545e-05/0.7172, allocations: 18.34 kB / 1.486 GB, free: 11.73 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.428e-05/0.7172, allocations: 27.94 kB / 1.486 GB, free: 11.7 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00266/0.7199, allocations: 0.9434 MB / 1.487 GB, free: 10.72 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/0.7216, allocations: 423.3 kB / 1.487 GB, free: 10.3 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02428/0.7459, allocations: 21.11 MB / 1.508 GB, free: 3.961 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002318/0.7482, allocations: 127.9 kB / 1.508 GB, free: 3.836 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002671/0.7484, allocations: 92 kB / 1.508 GB, free: 3.746 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003399/0.7518, allocations: 1.65 MB / 1.51 GB, free: 2.086 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006271/0.7525, allocations: 242.5 kB / 1.51 GB, free: 1.848 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006219/0.7587, allocations: 3.229 MB / 1.513 GB, free: 14.56 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/0.7587, allocations: 16 kB / 1.513 GB, free: 14.55 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.242e-05/0.7587, allocations: 16 kB / 1.513 GB, free: 14.53 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-05/0.7588, allocations: 7.969 kB / 1.513 GB, free: 14.52 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01322/0.772, allocations: 6.445 MB / 1.52 GB, free: 7.949 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.319e-05/0.772, allocations: 4.562 kB / 1.52 GB, free: 7.945 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009574/0.773, allocations: 219.6 kB / 1.52 GB, free: 7.73 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002511/0.7755, allocations: 0.8882 MB / 1.521 GB, free: 6.805 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001674/0.7756, allocations: 32 kB / 1.521 GB, free: 6.773 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02443/0.8001, allocations: 21.09 MB / 1.541 GB, free: 464 kB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/0.8001, allocations: 11.92 kB / 1.541 GB, free: 452 kB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006302/0.8064, allocations: 3.348 MB / 1.545 GB, free: 12.98 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001645/0.808, allocations: 446.3 kB / 1.545 GB, free: 12.54 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000383/0.8084, allocations: 39.98 kB / 1.545 GB, free: 12.5 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/0.8095, allocations: 91.89 kB / 1.545 GB, free: 12.41 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004328/0.8099, allocations: 144.9 kB / 1.545 GB, free: 12.27 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/0.81, allocations: 44 kB / 1.545 GB, free: 12.22 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001872/0.8119, allocations: 1.09 MB / 1.546 GB, free: 11.11 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8119, allocations: 4 kB / 1.546 GB, free: 11.11 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003245/0.8152, allocations: 0.9023 MB / 1.547 GB, free: 10.21 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003128/0.8155, allocations: 151 kB / 1.547 GB, free: 10.05 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.007618/0.8231, allocations: 4.306 MB / 1.552 GB, free: 5.594 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/0.8231, allocations: 1 kB / 1.552 GB, free: 5.594 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.00485/0.828, allocations: 2.894 MB / 1.554 GB, free: 2.543 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003711/0.8317, allocations: 0.7585 MB / 1.555 GB, free: 1.797 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01699/0.8487, allocations: 8.455 MB / 1.563 GB, free: 9.238 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004618/0.8533, allocations: 2.739 MB / 1.566 GB, free: 6.465 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008213/0.8541, allocations: 143.4 kB / 1.566 GB, free: 6.324 MB / 1.264 GB Notification: Performance of SimCode: time 1.533e-06/0.8541, allocations: 0 / 1.566 GB, free: 6.324 MB / 1.264 GB Notification: Performance of Templates: time 1.065/1.919, allocations: 340.6 MB / 1.899 GB, free: 15.96 MB / 1.326 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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: 26.437308989930898]