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.001286/0.001286, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001456/0.001456, allocations: 211.8 kB / 22.99 MB, free: 4.984 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.122/3.122, allocations: 0.49 GB / 0.7959 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 177] 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.002042/0.002042, allocations: 70.33 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2947, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007722/0.3024, allocations: 5.368 MB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00466/0.3071, allocations: 2.631 MB / 1.335 GB, free: 8.969 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002892/0.3074, allocations: 31.69 kB / 1.335 GB, free: 8.938 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.3092, allocations: 0.6808 MB / 1.336 GB, free: 8.254 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0009098/0.3102, allocations: 425.7 kB / 1.336 GB, free: 7.836 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009568/0.3111, allocations: 422.7 kB / 1.336 GB, free: 7.426 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001053/0.3122, allocations: 0.9594 MB / 1.337 GB, free: 6.461 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005529/0.3127, allocations: 378.5 kB / 1.338 GB, free: 6.078 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005345/0.3133, allocations: 398.5 kB / 1.338 GB, free: 5.688 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005645/0.3138, allocations: 430.3 kB / 1.338 GB, free: 5.266 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.934e-05/0.3139, allocations: 52 kB / 1.339 GB, free: 5.215 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005688/0.3145, allocations: 331.3 kB / 1.339 GB, free: 4.891 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002609/0.3147, allocations: 251.2 kB / 1.339 GB, free: 4.645 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000329/0.3151, allocations: 290.6 kB / 1.339 GB, free: 4.359 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.3162, allocations: 0.9845 MB / 1.34 GB, free: 3.371 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3162, allocations: 0 / 1.34 GB, free: 3.371 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3162, allocations: 0 / 1.34 GB, free: 3.371 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.3162, allocations: 0 / 1.34 GB, free: 3.371 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.001677/0.3179, allocations: 0.9247 MB / 1.341 GB, free: 2.414 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.3179, allocations: 8.031 kB / 1.341 GB, free: 2.406 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001466/0.3194, allocations: 196.3 kB / 1.341 GB, free: 2.215 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009192/0.3203, allocations: 461 kB / 1.342 GB, free: 1.738 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.144e-05/0.3204, allocations: 41.36 kB / 1.342 GB, free: 1.699 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/0.3205, allocations: 56.5 kB / 1.342 GB, free: 1.645 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/0.3219, allocations: 0.9863 MB / 1.343 GB, free: 0.5352 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/0.3219, allocations: 7.938 kB / 1.343 GB, free: 0.5273 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.246e-05/0.322, allocations: 27.92 kB / 1.343 GB, free: 0.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002078/0.3222, allocations: 64.95 kB / 1.343 GB, free: 448 kB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000966/0.3231, allocations: 0.5736 MB / 1.344 GB, free: 15.86 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004328/0.3275, allocations: 3.496 MB / 1.347 GB, free: 12.24 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004929/0.328, allocations: 275.2 kB / 1.347 GB, free: 11.96 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003231/0.3283, allocations: 213.3 kB / 1.347 GB, free: 11.75 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.3283, allocations: 12.27 kB / 1.347 GB, free: 11.74 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.3284, allocations: 38.84 kB / 1.348 GB, free: 11.7 MB / 1.045 GB Notification: Performance of pre-optimization done (n=33): time 2.785e-06/0.3284, allocations: 0 / 1.348 GB, free: 11.7 MB / 1.045 GB Notification: Performance of matching and sorting (n=40): time 0.005849/0.3342, allocations: 2.326 MB / 1.35 GB, free: 9.316 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.3343, allocations: 55.41 kB / 1.35 GB, free: 9.25 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005072/0.3348, allocations: 433.7 kB / 1.35 GB, free: 8.816 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.062e-05/0.3348, allocations: 33.7 kB / 1.35 GB, free: 8.777 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002708/0.3351, allocations: 364.3 kB / 1.351 GB, free: 8.414 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/0.3352, allocations: 146.7 kB / 1.351 GB, free: 8.27 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001812/0.3354, allocations: 106.2 kB / 1.351 GB, free: 8.16 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.3356, allocations: 362.7 kB / 1.351 GB, free: 7.797 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000387/0.336, allocations: 245.2 kB / 1.351 GB, free: 7.559 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005219/0.3365, allocations: 409.4 kB / 1.352 GB, free: 7.082 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009468/0.3374, allocations: 0.674 MB / 1.352 GB, free: 6.336 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3374, allocations: 0 / 1.352 GB, free: 6.336 MB / 1.045 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001844/0.3393, allocations: 0.9132 MB / 1.353 GB, free: 5.406 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.3393, allocations: 8 kB / 1.353 GB, free: 5.398 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.3393, allocations: 4.656 kB / 1.353 GB, free: 5.395 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008582/0.3402, allocations: 230.4 kB / 1.354 GB, free: 5.16 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005562/0.3407, allocations: 115.8 kB / 1.354 GB, free: 5.047 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005597/0.3463, allocations: 4.946 MB / 1.359 GB, free: 15.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004696/0.3468, allocations: 27.97 kB / 1.359 GB, free: 15.76 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.465e-05/0.3468, allocations: 24 kB / 1.359 GB, free: 15.74 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.0003275/0.3472, allocations: 226.1 kB / 1.359 GB, free: 15.51 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.3473, allocations: 55.67 kB / 1.359 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001578/0.3489, allocations: 0.7655 MB / 1.36 GB, free: 14.67 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.3489, allocations: 4 kB / 1.36 GB, free: 14.67 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.3489, allocations: 0 / 1.36 GB, free: 14.67 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.3489, allocations: 7.922 kB / 1.36 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002546/0.3514, allocations: 1.319 MB / 1.361 GB, free: 13.28 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.3514, allocations: 4 kB / 1.361 GB, free: 13.27 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004101/0.3518, allocations: 63.89 kB / 1.361 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000767/0.3526, allocations: 218.7 kB / 1.361 GB, free: 12.99 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.5e-05/0.3526, allocations: 8 kB / 1.361 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005366/0.358, allocations: 4.875 MB / 1.366 GB, free: 7.797 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.358, allocations: 4.031 kB / 1.366 GB, free: 7.793 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001994/0.36, allocations: 1.135 MB / 1.367 GB, free: 6.609 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002607/0.3603, allocations: 87.62 kB / 1.367 GB, free: 6.523 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.14e-05/0.3603, allocations: 8 kB / 1.367 GB, free: 6.516 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003371/0.3607, allocations: 31.91 kB / 1.367 GB, free: 6.484 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.064e-05/0.3608, allocations: 39.81 kB / 1.367 GB, free: 6.445 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.14e-05/0.3608, allocations: 20.06 kB / 1.367 GB, free: 6.426 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003506/0.3611, allocations: 294.8 kB / 1.368 GB, free: 6.137 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3611, allocations: 0 / 1.368 GB, free: 6.137 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006795/0.3618, allocations: 168 kB / 1.368 GB, free: 5.973 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.0001643/0.362, allocations: 111.2 kB / 1.368 GB, free: 5.852 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001673/0.3637, allocations: 0.9693 MB / 1.369 GB, free: 4.844 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3637, allocations: 0 / 1.369 GB, free: 4.844 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.3647, allocations: 0.6642 MB / 1.369 GB, free: 4.141 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008451/0.3656, allocations: 162.8 kB / 1.37 GB, free: 3.988 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.3677, allocations: 1.282 MB / 1.371 GB, free: 2.656 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.3681, allocations: 354.1 kB / 1.371 GB, free: 2.285 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003194/0.3684, allocations: 116.8 kB / 1.371 GB, free: 2.172 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.3685, allocations: 31.44 kB / 1.371 GB, free: 2.141 MB / 1.061 GB Notification: Performance of SimCode: time 5.41e-07/0.3685, allocations: 0 / 1.371 GB, free: 2.141 MB / 1.061 GB Notification: Performance of Templates: time 0.01759/0.3861, allocations: 10.03 MB / 1.381 GB, free: 8.316 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 -s gbode -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: 8.743576025997754]