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.001898/0.001898, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002236/0.002236, allocations: 209.9 kB / 22.24 MB, free: 4.855 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.612/1.612, allocations: 230.6 MB / 256 MB, free: 7.797 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.406/3.406, allocations: 0.4892 GB / 0.7943 GB, free: 35.46 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.002128/0.002128, allocations: 66.81 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3623, allocations: 176.1 MB / 1.326 GB, free: 1.867 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.01003/0.3724, allocations: 5.37 MB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005981/0.3783, allocations: 2.627 MB / 1.333 GB, free: 9.84 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007166/0.3791, allocations: 31.69 kB / 1.333 GB, free: 9.809 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002291/0.3813, allocations: 0.6876 MB / 1.334 GB, free: 9.121 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001339/0.3827, allocations: 421.7 kB / 1.334 GB, free: 8.707 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.384, allocations: 415 kB / 1.335 GB, free: 8.301 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001774/0.3857, allocations: 0.9671 MB / 1.336 GB, free: 7.328 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007338/0.3865, allocations: 378.5 kB / 1.336 GB, free: 6.945 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008223/0.3873, allocations: 386.6 kB / 1.337 GB, free: 6.566 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008016/0.3881, allocations: 406.3 kB / 1.337 GB, free: 6.168 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001397/0.3882, allocations: 48 kB / 1.337 GB, free: 6.121 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007523/0.389, allocations: 331.2 kB / 1.337 GB, free: 5.797 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002983/0.3893, allocations: 251.2 kB / 1.337 GB, free: 5.551 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003383/0.3896, allocations: 290.6 kB / 1.338 GB, free: 5.266 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.3908, allocations: 0.9844 MB / 1.339 GB, free: 4.277 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3909, allocations: 0 / 1.339 GB, free: 4.277 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3909, allocations: 0 / 1.339 GB, free: 4.277 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.596e-05/0.3909, allocations: 0 / 1.339 GB, free: 4.277 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.001842/0.3927, allocations: 0.9286 MB / 1.34 GB, free: 3.316 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.3928, allocations: 8.031 kB / 1.34 GB, free: 3.309 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/0.3941, allocations: 196.3 kB / 1.34 GB, free: 3.117 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009573/0.3951, allocations: 464.9 kB / 1.34 GB, free: 2.641 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.61e-05/0.3951, allocations: 37.38 kB / 1.34 GB, free: 2.605 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001709/0.3953, allocations: 60.5 kB / 1.34 GB, free: 2.547 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.3967, allocations: 0.9888 MB / 1.341 GB, free: 1.434 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.3967, allocations: 3.938 kB / 1.341 GB, free: 1.43 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.159e-05/0.3968, allocations: 20 kB / 1.341 GB, free: 1.41 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001997/0.397, allocations: 72.94 kB / 1.341 GB, free: 1.34 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009526/0.3979, allocations: 0.5658 MB / 1.342 GB, free: 0.7734 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004467/0.4024, allocations: 3.496 MB / 1.345 GB, free: 13.15 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005193/0.4029, allocations: 279.2 kB / 1.346 GB, free: 12.87 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003333/0.4033, allocations: 209.3 kB / 1.346 GB, free: 12.66 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.034e-05/0.4033, allocations: 8.219 kB / 1.346 GB, free: 12.66 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.4033, allocations: 34.84 kB / 1.346 GB, free: 12.61 MB / 1.045 GB Notification: Performance of pre-optimization done (n=33): time 2.234e-06/0.4033, allocations: 4 kB / 1.346 GB, free: 12.61 MB / 1.045 GB Notification: Performance of matching and sorting (n=40): time 0.006002/0.4093, allocations: 2.334 MB / 1.348 GB, free: 10.22 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.4094, allocations: 59.34 kB / 1.348 GB, free: 10.15 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005224/0.4099, allocations: 437.7 kB / 1.349 GB, free: 9.719 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.091e-05/0.4099, allocations: 29.7 kB / 1.349 GB, free: 9.684 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002791/0.4102, allocations: 360.3 kB / 1.349 GB, free: 9.324 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.4103, allocations: 146.7 kB / 1.349 GB, free: 9.18 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001749/0.4105, allocations: 106.2 kB / 1.349 GB, free: 9.07 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.4107, allocations: 366.7 kB / 1.35 GB, free: 8.703 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003742/0.4111, allocations: 233.2 kB / 1.35 GB, free: 8.477 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005338/0.4116, allocations: 411.3 kB / 1.35 GB, free: 7.996 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009619/0.4126, allocations: 0.674 MB / 1.351 GB, free: 7.25 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4126, allocations: 0 / 1.351 GB, free: 7.25 MB / 1.045 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001809/0.4144, allocations: 0.9171 MB / 1.352 GB, free: 6.316 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.4144, allocations: 8 kB / 1.352 GB, free: 6.309 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.4144, allocations: 4 kB / 1.352 GB, free: 6.305 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008101/0.4152, allocations: 231 kB / 1.352 GB, free: 6.07 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005408/0.4158, allocations: 115.8 kB / 1.352 GB, free: 5.957 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005837/0.4216, allocations: 4.946 MB / 1.357 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004557/0.4221, allocations: 27.97 kB / 1.357 GB, free: 0.6758 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.506e-05/0.4221, allocations: 24.12 kB / 1.357 GB, free: 0.6523 MB / 1.045 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.0003355/0.4224, allocations: 230.1 kB / 1.357 GB, free: 428 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.491e-05/0.4225, allocations: 55.67 kB / 1.357 GB, free: 372 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/0.4241, allocations: 0.7655 MB / 1.358 GB, free: 15.58 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.4241, allocations: 4 kB / 1.358 GB, free: 15.58 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.4241, allocations: 0 / 1.358 GB, free: 15.58 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.4241, allocations: 3.938 kB / 1.358 GB, free: 15.57 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00256/0.4267, allocations: 1.327 MB / 1.359 GB, free: 14.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.4267, allocations: 4 kB / 1.359 GB, free: 14.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000381/0.4271, allocations: 67.89 kB / 1.359 GB, free: 14.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006893/0.4277, allocations: 206.5 kB / 1.36 GB, free: 13.9 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.664e-05/0.4278, allocations: 11.98 kB / 1.36 GB, free: 13.89 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005589/0.4334, allocations: 4.871 MB / 1.364 GB, free: 8.707 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.4334, allocations: 4.031 kB / 1.364 GB, free: 8.703 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001955/0.4353, allocations: 1.132 MB / 1.365 GB, free: 7.523 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002736/0.4356, allocations: 87.62 kB / 1.366 GB, free: 7.438 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.876e-05/0.4357, allocations: 19.98 kB / 1.366 GB, free: 7.418 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003221/0.436, allocations: 23.97 kB / 1.366 GB, free: 7.395 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.989e-05/0.4361, allocations: 31.94 kB / 1.366 GB, free: 7.363 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.815e-05/0.4361, allocations: 16 kB / 1.366 GB, free: 7.348 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003713/0.4365, allocations: 298.8 kB / 1.366 GB, free: 7.055 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4365, allocations: 4.062 kB / 1.366 GB, free: 7.051 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000727/0.4372, allocations: 168 kB / 1.366 GB, free: 6.887 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.0001731/0.4374, allocations: 111.2 kB / 1.366 GB, free: 6.766 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001727/0.4391, allocations: 0.9731 MB / 1.367 GB, free: 5.754 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.4391, allocations: 0 / 1.367 GB, free: 5.754 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.4402, allocations: 0.672 MB / 1.368 GB, free: 5.043 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008321/0.441, allocations: 160.9 kB / 1.368 GB, free: 4.898 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/0.4434, allocations: 1.294 MB / 1.369 GB, free: 3.555 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/0.4439, allocations: 354.1 kB / 1.37 GB, free: 3.184 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003579/0.4442, allocations: 112.8 kB / 1.37 GB, free: 3.074 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.4443, allocations: 31.44 kB / 1.37 GB, free: 3.043 MB / 1.061 GB Notification: Performance of SimCode: time 5.61e-07/0.4443, allocations: 0 / 1.37 GB, free: 3.043 MB / 1.061 GB Notification: Performance of Templates: time 0.01973/0.4641, allocations: 9.858 MB / 1.379 GB, free: 9.395 MB / 1.076 GB " [Timeout remaining time 300] 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/jenkins/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: 9.875006614252925]