Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001885/0.001885, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001943/0.001943, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 225.6 MB / 249.4 MB, free: 3.297 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.702/2.702, allocations: 443.5 MB / 0.7304 GB, free: 13.87 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 63.91 kB / 1.059 GB, free: 328 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3776, allocations: 160.7 MB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.05038/0.428, allocations: 39.78 MB / 1.255 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.9981/1.426, allocations: 11.39 MB / 1.266 GB, free: 17.09 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005687/1.432, allocations: 157.9 kB / 1.266 GB, free: 17.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01258/1.444, allocations: 4.528 MB / 1.271 GB, free: 17.03 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009352/1.454, allocations: 2.333 MB / 1.273 GB, free: 16.92 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01039/1.464, allocations: 2.238 MB / 1.275 GB, free: 16.77 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02131/1.485, allocations: 9.289 MB / 1.284 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02218/1.508, allocations: 5.977 MB / 1.29 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01493/1.523, allocations: 4.054 MB / 1.294 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01313/1.536, allocations: 4.752 MB / 1.299 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.005705/1.541, allocations: 0.8228 MB / 1.299 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009846/1.551, allocations: 1.611 MB / 1.301 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.01154/1.563, allocations: 3.232 MB / 1.304 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0181/1.581, allocations: 3.651 MB / 1.308 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.03102/1.612, allocations: 12.35 MB / 1.32 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.061e-05/1.612, allocations: 1.312 kB / 1.32 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.836e-06/1.612, allocations: 0 / 1.32 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0007538/1.613, allocations: 0 / 1.32 GB, free: 2.168 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.0367/1.649, allocations: 6.473 MB / 1.326 GB, free: 13.93 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 7.865e-05/1.649, allocations: 9.375 kB / 1.326 GB, free: 13.93 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01132/1.661, allocations: 1.099 MB / 1.327 GB, free: 13.4 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01598/1.677, allocations: 3.633 MB / 1.331 GB, free: 11.11 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001017/1.678, allocations: 421.7 kB / 1.331 GB, free: 10.93 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00469/1.682, allocations: 0.5394 MB / 1.332 GB, free: 10.75 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04143/1.724, allocations: 9.374 MB / 1.341 GB, free: 5.043 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006357/1.725, allocations: 22.95 kB / 1.341 GB, free: 5.027 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004357/1.729, allocations: 250.6 kB / 1.341 GB, free: 4.852 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001278/1.73, allocations: 423 kB / 1.342 GB, free: 4.75 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02573/1.756, allocations: 7.124 MB / 1.348 GB, free: 1.09 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0753/1.831, allocations: 41.07 MB / 1.389 GB, free: 8.504 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005594/1.837, allocations: 2.908 MB / 1.391 GB, free: 5.59 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003525/1.84, allocations: 1.943 MB / 1.393 GB, free: 3.648 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001982/1.841, allocations: 22 kB / 1.393 GB, free: 3.625 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.703e-05/1.841, allocations: 60.56 kB / 1.393 GB, free: 3.559 MB / 1.061 GB Notification: Performance of pre-optimization done (n=209): time 3.667e-06/1.841, allocations: 0 / 1.393 GB, free: 3.559 MB / 1.061 GB Notification: Performance of matching and sorting (n=212): time 0.02888/1.869, allocations: 10.58 MB / 1.404 GB, free: 8.898 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.926e-05/1.87, allocations: 85.33 kB / 1.404 GB, free: 8.801 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004086/1.874, allocations: 2.006 MB / 1.406 GB, free: 6.777 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0004806/1.874, allocations: 61.7 kB / 1.406 GB, free: 6.711 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.002103/1.876, allocations: 2.476 MB / 1.408 GB, free: 4.219 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.001243/1.877, allocations: 0.764 MB / 1.409 GB, free: 3.465 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001292/1.879, allocations: 477.5 kB / 1.409 GB, free: 2.992 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001574/1.879, allocations: 309.1 kB / 1.41 GB, free: 2.688 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002512/1.881, allocations: 1.368 MB / 1.411 GB, free: 1.316 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003236/1.885, allocations: 2.115 MB / 1.413 GB, free: 14.89 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00602/1.891, allocations: 3.762 MB / 1.417 GB, free: 10.82 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.628e-05/1.891, allocations: 4 kB / 1.417 GB, free: 10.82 MB / 1.092 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.01004/1.901, allocations: 5.034 MB / 1.422 GB, free: 5.762 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.358e-05/1.901, allocations: 16 kB / 1.422 GB, free: 5.746 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.092e-05/1.901, allocations: 27.94 kB / 1.422 GB, free: 5.719 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003937/1.905, allocations: 1.587 MB / 1.423 GB, free: 4.125 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002008/1.907, allocations: 455.2 kB / 1.424 GB, free: 3.68 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02818/1.935, allocations: 18.59 MB / 1.442 GB, free: 0.543 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003443/1.938, allocations: 147.9 kB / 1.442 GB, free: 408 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006889/1.939, allocations: 104 kB / 1.442 GB, free: 304 kB / 1.107 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005827/1.945, allocations: 1.942 MB / 1.444 GB, free: 14.34 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001295/1.946, allocations: 302.2 kB / 1.444 GB, free: 14.05 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0101/1.956, allocations: 4.4 MB / 1.449 GB, free: 9.613 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-05/1.956, allocations: 24 kB / 1.449 GB, free: 9.59 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.806e-05/1.956, allocations: 16 kB / 1.449 GB, free: 9.574 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.643e-05/1.956, allocations: 7.969 kB / 1.449 GB, free: 9.566 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02604/1.982, allocations: 9.615 MB / 1.458 GB, free: 15.84 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-05/1.982, allocations: 8.219 kB / 1.458 GB, free: 15.84 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/1.984, allocations: 239.6 kB / 1.458 GB, free: 15.6 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003926/1.988, allocations: 1.426 MB / 1.46 GB, free: 14.16 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003676/1.988, allocations: 36 kB / 1.46 GB, free: 14.13 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02859/2.017, allocations: 18.6 MB / 1.478 GB, free: 11 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/2.017, allocations: 4 kB / 1.478 GB, free: 11 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009653/2.026, allocations: 4.512 MB / 1.482 GB, free: 6.398 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002302/2.029, allocations: 0.6475 MB / 1.483 GB, free: 5.73 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006242/2.029, allocations: 40 kB / 1.483 GB, free: 5.691 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/2.031, allocations: 119.8 kB / 1.483 GB, free: 5.574 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006112/2.031, allocations: 177.6 kB / 1.483 GB, free: 5.402 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001554/2.031, allocations: 64 kB / 1.483 GB, free: 5.34 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002323/2.034, allocations: 1.311 MB / 1.485 GB, free: 4.02 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/2.034, allocations: 0 / 1.485 GB, free: 4.02 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.004695/2.038, allocations: 1.145 MB / 1.486 GB, free: 2.875 MB / 1.154 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004354/2.039, allocations: 169.3 kB / 1.486 GB, free: 2.703 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.008307/2.047, allocations: 4.542 MB / 1.49 GB, free: 14.12 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.465e-05/2.047, allocations: 8 kB / 1.49 GB, free: 14.11 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.005125/2.052, allocations: 2.789 MB / 1.493 GB, free: 11.28 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005648/2.058, allocations: 0.8899 MB / 1.494 GB, free: 10.4 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02412/2.082, allocations: 9.574 MB / 1.503 GB, free: 0.7383 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005597/2.088, allocations: 3.69 MB / 1.507 GB, free: 13.01 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.002458/2.09, allocations: 0.5556 MB / 1.507 GB, free: 12.45 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004386/2.09, allocations: 147.4 kB / 1.508 GB, free: 12.3 MB / 1.186 GB Notification: Performance of SimCode: time 1.563e-06/2.09, allocations: 0 / 1.508 GB, free: 12.3 MB / 1.186 GB Notification: Performance of Templates: time 0.1096/2.2, allocations: 53.22 MB / 1.56 GB, free: 7.93 MB / 1.232 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.148014748468995]