Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.002008/0.002008, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.002525/0.002525, allocations: 212.6 kB / 23.04 MB, free: 4.852 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.557/1.557, allocations: 230.6 MB / 256.8 MB, free: 7.746 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.216/3.216, allocations: 0.49 GB / 0.7959 GB, free: 35.54 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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [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.00199/0.00199, allocations: 67.95 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.3983, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.008219/0.4066, allocations: 5.362 MB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005149/0.4117, allocations: 2.623 MB / 1.335 GB, free: 8.957 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004776/0.4122, allocations: 35.69 kB / 1.335 GB, free: 8.922 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002001/0.4142, allocations: 0.6902 MB / 1.336 GB, free: 8.23 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001256/0.4154, allocations: 413.8 kB / 1.336 GB, free: 7.824 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.4166, allocations: 422.8 kB / 1.336 GB, free: 7.414 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001301/0.4179, allocations: 0.9633 MB / 1.337 GB, free: 6.445 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006366/0.4185, allocations: 386.4 kB / 1.338 GB, free: 6.055 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006044/0.4191, allocations: 382.6 kB / 1.338 GB, free: 5.68 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006091/0.4197, allocations: 410.3 kB / 1.339 GB, free: 5.277 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.62e-05/0.4198, allocations: 48 kB / 1.339 GB, free: 5.23 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006609/0.4205, allocations: 335.2 kB / 1.339 GB, free: 4.902 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002868/0.4208, allocations: 251.2 kB / 1.339 GB, free: 4.656 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003546/0.4211, allocations: 290.6 kB / 1.339 GB, free: 4.371 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.4223, allocations: 0.9806 MB / 1.34 GB, free: 3.387 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4223, allocations: 0 / 1.34 GB, free: 3.387 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4223, allocations: 0 / 1.34 GB, free: 3.387 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.543e-05/0.4224, allocations: 0 / 1.34 GB, free: 3.387 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001711/0.4241, allocations: 0.9247 MB / 1.341 GB, free: 2.43 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.4241, allocations: 8.031 kB / 1.341 GB, free: 2.422 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001398/0.4255, allocations: 196.3 kB / 1.341 GB, free: 2.23 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008873/0.4264, allocations: 476.9 kB / 1.342 GB, free: 1.742 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.105e-05/0.4264, allocations: 33.38 kB / 1.342 GB, free: 1.711 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/0.4266, allocations: 60.48 kB / 1.342 GB, free: 1.652 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.428, allocations: 0.9863 MB / 1.343 GB, free: 0.5391 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/0.428, allocations: 4 kB / 1.343 GB, free: 0.5352 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.511e-05/0.428, allocations: 27.94 kB / 1.343 GB, free: 0.5078 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001881/0.4282, allocations: 68.94 kB / 1.343 GB, free: 452 kB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009227/0.4292, allocations: 0.5735 MB / 1.344 GB, free: 15.87 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004651/0.4338, allocations: 3.492 MB / 1.347 GB, free: 12.25 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006091/0.4344, allocations: 279.2 kB / 1.347 GB, free: 11.97 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003421/0.4348, allocations: 213.3 kB / 1.348 GB, free: 11.76 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.759e-05/0.4348, allocations: 4.281 kB / 1.348 GB, free: 11.75 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.4348, allocations: 34.84 kB / 1.348 GB, free: 11.71 MB / 1.045 GB Notification: Performance of pre-optimization done (n=33): time 2.825e-06/0.4348, allocations: 0 / 1.348 GB, free: 11.71 MB / 1.045 GB Notification: Performance of matching and sorting (n=40): time 0.00611/0.441, allocations: 2.334 MB / 1.35 GB, free: 9.324 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.441, allocations: 59.41 kB / 1.35 GB, free: 9.254 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006489/0.4417, allocations: 425.7 kB / 1.35 GB, free: 8.832 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.778e-05/0.4417, allocations: 33.7 kB / 1.35 GB, free: 8.793 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003805/0.4421, allocations: 360.3 kB / 1.351 GB, free: 8.434 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.4423, allocations: 150.7 kB / 1.351 GB, free: 8.285 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002177/0.4425, allocations: 118.2 kB / 1.351 GB, free: 8.164 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002137/0.4427, allocations: 358.7 kB / 1.351 GB, free: 7.805 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003801/0.4431, allocations: 237.2 kB / 1.351 GB, free: 7.574 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005362/0.4436, allocations: 407.4 kB / 1.352 GB, free: 7.098 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009587/0.4446, allocations: 0.674 MB / 1.353 GB, free: 6.352 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.4446, allocations: 8 kB / 1.353 GB, free: 6.344 MB / 1.045 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001743/0.4463, allocations: 0.9061 MB / 1.353 GB, free: 5.422 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.4463, allocations: 15.92 kB / 1.353 GB, free: 5.406 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.4464, allocations: 12.03 kB / 1.353 GB, free: 5.395 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007825/0.4471, allocations: 222.4 kB / 1.354 GB, free: 5.168 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000509/0.4477, allocations: 111.8 kB / 1.354 GB, free: 5.059 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005641/0.4533, allocations: 4.938 MB / 1.359 GB, free: 15.81 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005271/0.4538, allocations: 31.97 kB / 1.359 GB, free: 15.78 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.254e-05/0.4539, allocations: 23.94 kB / 1.359 GB, free: 15.76 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,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.0003758/0.4542, allocations: 233 kB / 1.359 GB, free: 15.52 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.989e-05/0.4543, allocations: 55.67 kB / 1.359 GB, free: 15.47 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001603/0.4559, allocations: 0.7578 MB / 1.36 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.4559, allocations: 4 kB / 1.36 GB, free: 14.69 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.456, allocations: 4 kB / 1.36 GB, free: 14.69 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.456, allocations: 7.922 kB / 1.36 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002494/0.4585, allocations: 1.319 MB / 1.361 GB, free: 13.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.4585, allocations: 3.938 kB / 1.361 GB, free: 13.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003889/0.4589, allocations: 68.16 kB / 1.361 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006874/0.4595, allocations: 210.3 kB / 1.361 GB, free: 13.01 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.762e-05/0.4596, allocations: 16 kB / 1.361 GB, free: 12.99 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005415/0.465, allocations: 4.867 MB / 1.366 GB, free: 7.816 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.465, allocations: 12.09 kB / 1.366 GB, free: 7.805 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002016/0.467, allocations: 1.127 MB / 1.367 GB, free: 6.629 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002647/0.4673, allocations: 87.66 kB / 1.367 GB, free: 6.543 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.155e-05/0.4673, allocations: 15.94 kB / 1.367 GB, free: 6.527 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003155/0.4677, allocations: 19.97 kB / 1.367 GB, free: 6.508 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.4678, allocations: 47.98 kB / 1.367 GB, free: 6.461 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/0.4678, allocations: 11.94 kB / 1.367 GB, free: 6.449 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003658/0.4682, allocations: 294.8 kB / 1.368 GB, free: 6.16 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4682, allocations: 0 / 1.368 GB, free: 6.16 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007256/0.4689, allocations: 168 kB / 1.368 GB, free: 5.996 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001733/0.4691, allocations: 111.2 kB / 1.368 GB, free: 5.875 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001754/0.4708, allocations: 0.9654 MB / 1.369 GB, free: 4.871 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.4708, allocations: 0 / 1.369 GB, free: 4.871 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.4719, allocations: 0.6758 MB / 1.369 GB, free: 4.156 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008833/0.4728, allocations: 178.6 kB / 1.37 GB, free: 3.992 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002323/0.4751, allocations: 1.331 MB / 1.371 GB, free: 2.605 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/0.4755, allocations: 354.1 kB / 1.371 GB, free: 2.234 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.4756, allocations: 39.44 kB / 1.371 GB, free: 2.195 MB / 1.061 GB Notification: Performance of SimCode: time 6.31e-07/0.4756, allocations: 0 / 1.371 GB, free: 2.195 MB / 1.061 GB Notification: Performance of Templates: time 0.02092/0.4965, allocations: 15.02 MB / 1.386 GB, free: 3.211 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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: 13.771526344120502]