Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.001413/0.001413, 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.00179/0.00179, allocations: 215.8 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.295/3.295, allocations: 0.505 GB / 0.8108 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [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.002053/0.002053, allocations: 63.77 kB / 1.178 GB, free: 16.94 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3729, allocations: 180.2 MB / 1.354 GB, free: 7.992 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01928/0.3921, allocations: 14.6 MB / 1.368 GB, free: 9.336 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01641/0.4085, allocations: 9.801 MB / 1.378 GB, free: 15.51 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001629/0.4102, allocations: 91.25 kB / 1.378 GB, free: 15.42 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004895/0.4151, allocations: 1.737 MB / 1.38 GB, free: 13.68 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005119/0.4202, allocations: 1.59 MB / 1.381 GB, free: 12.09 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002167/0.4224, allocations: 0.7595 MB / 1.382 GB, free: 11.33 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004334/0.4267, allocations: 2.532 MB / 1.384 GB, free: 8.785 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002055/0.4287, allocations: 1.184 MB / 1.386 GB, free: 7.566 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002348/0.4311, allocations: 1.211 MB / 1.387 GB, free: 6.352 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001866/0.433, allocations: 1.132 MB / 1.388 GB, free: 5.215 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002612/0.4332, allocations: 160 kB / 1.388 GB, free: 5.059 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001805/0.435, allocations: 0.8033 MB / 1.389 GB, free: 4.254 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0006932/0.4357, allocations: 0.6269 MB / 1.389 GB, free: 3.625 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001127/0.4368, allocations: 0.9329 MB / 1.39 GB, free: 2.688 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003705/0.4405, allocations: 2.74 MB / 1.393 GB, free: 15.93 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4406, allocations: 0 / 1.393 GB, free: 15.93 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.814e-06/0.4406, allocations: 0 / 1.393 GB, free: 15.93 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.153e-05/0.4406, allocations: 8 kB / 1.393 GB, free: 15.93 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.00434/0.4449, allocations: 2.1 MB / 1.395 GB, free: 13.79 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.445, allocations: 12.03 kB / 1.395 GB, free: 13.78 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01126/0.4562, allocations: 2.086 MB / 1.397 GB, free: 11.69 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003026/0.4593, allocations: 1.184 MB / 1.398 GB, free: 10.45 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.231e-05/0.4593, allocations: 86.73 kB / 1.398 GB, free: 10.37 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002916/0.4596, allocations: 120.1 kB / 1.399 GB, free: 10.25 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006282/0.4659, allocations: 2.634 MB / 1.401 GB, free: 7.48 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.983e-05/0.466, allocations: 11.89 kB / 1.401 GB, free: 7.469 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001738/0.4661, allocations: 59.98 kB / 1.401 GB, free: 7.41 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006264/0.4668, allocations: 182.1 kB / 1.401 GB, free: 7.23 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007694/0.4745, allocations: 2.787 MB / 1.404 GB, free: 4.434 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01673/0.4912, allocations: 10.36 MB / 1.414 GB, free: 9.5 MB / 1.108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006771/0.498, allocations: 2.228 MB / 1.416 GB, free: 7.266 MB / 1.108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003207/0.5012, allocations: 1.214 MB / 1.418 GB, free: 6.047 MB / 1.108 GB Notification: Performance of preOpt evalFunc (simulation): time 7.77e-05/0.5012, allocations: 12.98 kB / 1.418 GB, free: 6.035 MB / 1.108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.073e-05/0.5013, allocations: 43.56 kB / 1.418 GB, free: 5.984 MB / 1.108 GB Notification: Performance of pre-optimization done (n=89): time 3.006e-06/0.5013, allocations: 0 / 1.418 GB, free: 5.984 MB / 1.108 GB Notification: Performance of matching and sorting (n=131): time 0.04692/0.5482, allocations: 12.67 MB / 1.43 GB, free: 9.262 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.5483, allocations: 64.72 kB / 1.43 GB, free: 9.188 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001741/0.55, allocations: 1.117 MB / 1.431 GB, free: 8.055 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002054/0.5502, allocations: 49.7 kB / 1.431 GB, free: 8 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006844/0.5509, allocations: 0.7287 MB / 1.432 GB, free: 7.266 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005447/0.5515, allocations: 475.9 kB / 1.432 GB, free: 6.797 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000529/0.552, allocations: 263.5 kB / 1.433 GB, free: 6.531 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002009/0.5522, allocations: 361.9 kB / 1.433 GB, free: 6.172 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003494/0.5557, allocations: 1.343 MB / 1.434 GB, free: 4.828 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003686/0.5594, allocations: 1.604 MB / 1.436 GB, free: 3.125 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006997/0.5664, allocations: 2.991 MB / 1.439 GB, free: 40 kB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/0.5664, allocations: 4 kB / 1.439 GB, free: 36 kB / 1.123 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01207/0.5784, allocations: 4.408 MB / 1.443 GB, free: 11.57 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.662e-05/0.5785, allocations: 14.44 kB / 1.443 GB, free: 11.56 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.5785, allocations: 4 kB / 1.443 GB, free: 11.56 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005491/0.584, allocations: 1.431 MB / 1.444 GB, free: 10.09 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002121/0.5861, allocations: 439.2 kB / 1.445 GB, free: 9.656 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03107/0.6172, allocations: 25.36 MB / 1.47 GB, free: 14.8 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002797/0.62, allocations: 303.6 kB / 1.47 GB, free: 14.5 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000181/0.6202, allocations: 72.08 kB / 1.47 GB, free: 14.43 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009478/0.6211, allocations: 441.3 kB / 1.47 GB, free: 13.99 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003433/0.6215, allocations: 167 kB / 1.471 GB, free: 13.82 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01193/0.6334, allocations: 4.41 MB / 1.475 GB, free: 9.363 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.6334, allocations: 12 kB / 1.475 GB, free: 9.352 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.723e-05/0.6334, allocations: 12 kB / 1.475 GB, free: 9.34 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/0.6334, allocations: 7.969 kB / 1.475 GB, free: 9.332 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01621/0.6496, allocations: 6.696 MB / 1.481 GB, free: 2.473 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.6497, allocations: 352 / 1.481 GB, free: 2.473 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001875/0.6515, allocations: 391.3 kB / 1.482 GB, free: 2.09 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004895/0.6564, allocations: 1.306 MB / 1.483 GB, free: 0.7422 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000159/0.6566, allocations: 39.95 kB / 1.483 GB, free: 0.7031 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02896/0.6855, allocations: 24.17 MB / 1.507 GB, free: 7.039 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.6856, allocations: 4 kB / 1.507 GB, free: 7.035 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01139/0.6969, allocations: 4.164 MB / 1.511 GB, free: 2.773 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001257/0.6982, allocations: 382.7 kB / 1.511 GB, free: 2.398 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002553/0.6984, allocations: 27.98 kB / 1.511 GB, free: 2.371 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002003/0.7005, allocations: 307.7 kB / 1.511 GB, free: 2.07 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004691/0.7009, allocations: 136.6 kB / 1.512 GB, free: 1.938 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001307/0.7011, allocations: 55.97 kB / 1.512 GB, free: 1.883 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001203/0.7023, allocations: 0.7487 MB / 1.512 GB, free: 1.133 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.7023, allocations: 0 / 1.512 GB, free: 1.133 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002325/0.7046, allocations: 0.5742 MB / 1.513 GB, free: 0.5586 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003202/0.7049, allocations: 143.1 kB / 1.513 GB, free: 420 kB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01162/0.7165, allocations: 4.966 MB / 1.518 GB, free: 11.27 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 8.677e-06/0.7165, allocations: 0 / 1.518 GB, free: 11.27 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.007517/0.724, allocations: 3.417 MB / 1.521 GB, free: 7.684 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002695/0.7267, allocations: 0.562 MB / 1.522 GB, free: 7.137 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009361/0.7361, allocations: 4.171 MB / 1.526 GB, free: 2.902 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001402/0.7375, allocations: 1.485 MB / 1.527 GB, free: 1.387 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006932/0.7382, allocations: 131.3 kB / 1.527 GB, free: 1.258 MB / 1.217 GB Notification: Performance of SimCode: time 1.343e-06/0.7382, allocations: 0 / 1.527 GB, free: 1.258 MB / 1.217 GB Notification: Performance of Templates: time 0.8488/1.587, allocations: 112.7 MB / 1.638 GB, free: 231.5 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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: 21.24847889400553]