Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.001389/0.001389, allocations: 106.5 kB / 19.69 MB, free: 2.277 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.001662/0.001662, allocations: 220.2 kB / 23.01 MB, free: 4.605 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.564/1.564, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.739/2.739, allocations: 476.8 MB / 0.7714 GB, free: 4.262 MB / 0.6231 GB " [Timeout remaining time 177] 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.ThreePhasesBalanced.Lines.Examples.ACLine_L,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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [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.002026/0.002026, allocations: 64.23 kB / 1.119 GB, free: 40.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3941, allocations: 170 MB / 1.285 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.009183/0.4033, allocations: 6.433 MB / 1.291 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005929/0.4093, allocations: 3.336 MB / 1.294 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006362/0.4099, allocations: 39.62 kB / 1.294 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002673/0.4126, allocations: 0.9795 MB / 1.295 GB, free: 380 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001509/0.4141, allocations: 497.5 kB / 1.296 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.4155, allocations: 0.5044 MB / 1.296 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001502/0.417, allocations: 1.097 MB / 1.297 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008419/0.4178, allocations: 0.5177 MB / 1.298 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006915/0.4185, allocations: 454.4 kB / 1.298 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000673/0.4192, allocations: 0.4942 MB / 1.299 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.064e-05/0.4193, allocations: 60 kB / 1.299 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009999/0.4203, allocations: 0.4989 MB / 1.299 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003215/0.4206, allocations: 291.1 kB / 1.299 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004133/0.421, allocations: 402 kB / 1.3 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001475/0.4225, allocations: 1.187 MB / 1.301 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.4225, allocations: 0 / 1.301 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4225, allocations: 0 / 1.301 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.4225, allocations: 0 / 1.301 GB, free: 10.39 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001754/0.4242, allocations: 1.014 MB / 1.302 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.4243, allocations: 8.031 kB / 1.302 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001457/0.4257, allocations: 224.2 kB / 1.302 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.4268, allocations: 0.5243 MB / 1.303 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.462e-05/0.4268, allocations: 49.67 kB / 1.303 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.4269, allocations: 56.38 kB / 1.303 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.4284, allocations: 1.042 MB / 1.304 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.219e-05/0.4285, allocations: 7.891 kB / 1.304 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.771e-05/0.4285, allocations: 32 kB / 1.304 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.895e-05/0.4286, allocations: 65.27 kB / 1.304 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.4297, allocations: 0.6957 MB / 1.305 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005691/0.4354, allocations: 5.662 MB / 1.31 GB, free: 436 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007869/0.4362, allocations: 404.5 kB / 1.311 GB, free: 24 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008359/0.437, allocations: 392.5 kB / 1.311 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.959e-05/0.4371, allocations: 7.984 kB / 1.311 GB, free: 15.63 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/0.4371, allocations: 38.56 kB / 1.311 GB, free: 15.58 MB / 1.014 GB Notification: Performance of pre-optimization done (n=41): time 3.116e-06/0.4371, allocations: 4 kB / 1.311 GB, free: 15.58 MB / 1.014 GB Notification: Performance of matching and sorting (n=42): time 0.004379/0.4415, allocations: 1.71 MB / 1.313 GB, free: 13.85 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.4416, allocations: 59.41 kB / 1.313 GB, free: 13.78 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005727/0.4421, allocations: 462.8 kB / 1.313 GB, free: 13.32 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.731e-05/0.4422, allocations: 33.7 kB / 1.313 GB, free: 13.28 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003179/0.4425, allocations: 396.1 kB / 1.314 GB, free: 12.89 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.4426, allocations: 158.6 kB / 1.314 GB, free: 12.73 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/0.4428, allocations: 110.3 kB / 1.314 GB, free: 12.62 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.00021/0.443, allocations: 366.8 kB / 1.314 GB, free: 12.25 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000368/0.4434, allocations: 241.2 kB / 1.314 GB, free: 12.02 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006034/0.444, allocations: 453 kB / 1.315 GB, free: 11.48 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.445, allocations: 0.7594 MB / 1.316 GB, free: 10.62 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.445, allocations: 0 / 1.316 GB, free: 10.62 MB / 1.014 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001945/0.447, allocations: 1.027 MB / 1.317 GB, free: 9.574 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/0.447, allocations: 15.97 kB / 1.317 GB, free: 9.559 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.447, allocations: 4 kB / 1.317 GB, free: 9.555 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/0.4481, allocations: 327 kB / 1.317 GB, free: 9.223 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003168/0.4484, allocations: 91.83 kB / 1.317 GB, free: 9.133 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008037/0.4564, allocations: 7.056 MB / 1.324 GB, free: 1.613 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005214/0.4569, allocations: 28.02 kB / 1.324 GB, free: 1.586 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.472e-05/0.457, allocations: 32.14 kB / 1.324 GB, free: 1.555 MB / 1.014 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004363/0.4574, allocations: 241.6 kB / 1.324 GB, free: 1.309 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.4575, allocations: 75.5 kB / 1.324 GB, free: 1.234 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001769/0.4593, allocations: 0.8808 MB / 1.325 GB, free: 336 kB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.4593, allocations: 8.266 kB / 1.325 GB, free: 328 kB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.4593, allocations: 4 kB / 1.325 GB, free: 324 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.4593, allocations: 0 / 1.325 GB, free: 324 kB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002889/0.4622, allocations: 1.65 MB / 1.327 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.4622, allocations: 0 / 1.327 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.4624, allocations: 43.97 kB / 1.327 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009124/0.4633, allocations: 307.3 kB / 1.327 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.847e-05/0.4633, allocations: 4 kB / 1.327 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007691/0.471, allocations: 7.069 MB / 1.334 GB, free: 6.699 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.471, allocations: 3.938 kB / 1.334 GB, free: 6.695 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001871/0.4729, allocations: 0.9802 MB / 1.335 GB, free: 5.668 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003071/0.4732, allocations: 95.58 kB / 1.335 GB, free: 5.574 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.788e-05/0.4733, allocations: 12 kB / 1.335 GB, free: 5.562 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000273/0.4735, allocations: 19.97 kB / 1.335 GB, free: 5.543 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.4737, allocations: 51.86 kB / 1.335 GB, free: 5.492 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.609e-05/0.4737, allocations: 8.281 kB / 1.335 GB, free: 5.484 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004185/0.4741, allocations: 314.9 kB / 1.335 GB, free: 5.18 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4741, allocations: 0 / 1.335 GB, free: 5.18 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008466/0.475, allocations: 199.9 kB / 1.336 GB, free: 4.984 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001857/0.4751, allocations: 113.2 kB / 1.336 GB, free: 4.863 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002028/0.4772, allocations: 1.155 MB / 1.337 GB, free: 3.656 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.4772, allocations: 0 / 1.337 GB, free: 3.656 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001338/0.4785, allocations: 0.8347 MB / 1.338 GB, free: 2.77 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.4795, allocations: 217 kB / 1.338 GB, free: 2.57 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002516/0.4821, allocations: 1.317 MB / 1.339 GB, free: 1.195 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008067/0.4829, allocations: 0.992 MB / 1.34 GB, free: 180 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.483, allocations: 39.44 kB / 1.34 GB, free: 140 kB / 1.029 GB Notification: Performance of SimCode: time 1.342e-06/0.483, allocations: 4 kB / 1.34 GB, free: 136 kB / 1.029 GB Notification: Performance of Templates: time 0.02552/0.5085, allocations: 18.73 MB / 1.358 GB, free: 13.43 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference: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] Variables in the result:R1.i[1],R1.i[2],R1.v[1],R1.v[2],R2.i[1],R2.i[2],R2.v[1],R2.v[2],R3.i[1],R3.i[2],R3.v[1],R3.v[2],load_sc.i[1],load_sc.i[2],time [Calling sys.exit(0), Time elapsed: 13.878801631974056]