Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001389, allocations: 193.8 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.868/2.868, allocations: 482.4 MB / 0.7543 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 64.69 kB / 0.9233 GB, free: 29.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3646, allocations: 162.2 MB / 1.082 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007338/0.372, allocations: 5.556 MB / 1.087 GB, free: 8.055 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004246/0.3762, allocations: 2.627 MB / 1.09 GB, free: 5.418 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003404/0.3766, allocations: 23.81 kB / 1.09 GB, free: 5.395 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001678/0.3783, allocations: 0.6452 MB / 1.09 GB, free: 4.75 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0009185/0.3793, allocations: 382.1 kB / 1.091 GB, free: 4.375 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009126/0.3802, allocations: 367.3 kB / 1.091 GB, free: 4.016 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001013/0.3812, allocations: 0.9591 MB / 1.092 GB, free: 3.051 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007394/0.382, allocations: 0.5143 MB / 1.093 GB, free: 2.539 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004504/0.3824, allocations: 370.6 kB / 1.093 GB, free: 2.176 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004941/0.3829, allocations: 426.3 kB / 1.093 GB, free: 1.758 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.208e-05/0.383, allocations: 48 kB / 1.093 GB, free: 1.711 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006033/0.3836, allocations: 359.3 kB / 1.094 GB, free: 1.359 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000245/0.3839, allocations: 255.3 kB / 1.094 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003287/0.3842, allocations: 350.2 kB / 1.094 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.3852, allocations: 0.9928 MB / 1.095 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.3853, allocations: 0 / 1.095 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.153e-06/0.3853, allocations: 0 / 1.095 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.878e-06/0.3853, allocations: 0 / 1.095 GB, free: 15.77 MB / 0.8575 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.00159/0.3869, allocations: 0.9775 MB / 1.096 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.3869, allocations: 12.03 kB / 1.096 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001324/0.3882, allocations: 191.9 kB / 1.096 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006748/0.3889, allocations: 498.3 kB / 1.097 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.291e-05/0.389, allocations: 41.3 kB / 1.097 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.3891, allocations: 56.55 kB / 1.097 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.3903, allocations: 0.824 MB / 1.098 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.3903, allocations: 7.938 kB / 1.098 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.017e-05/0.3904, allocations: 31.98 kB / 1.098 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001771/0.3906, allocations: 60.95 kB / 1.098 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000855/0.3914, allocations: 0.5736 MB / 1.098 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004434/0.3959, allocations: 4.581 MB / 1.103 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004827/0.3964, allocations: 299.2 kB / 1.103 GB, free: 7.113 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003209/0.3967, allocations: 225.3 kB / 1.103 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/0.3967, allocations: 4.281 kB / 1.103 GB, free: 6.887 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.3968, allocations: 38.84 kB / 1.103 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=33): time 2.124e-06/0.3968, allocations: 0 / 1.103 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=40): time 0.00579/0.4026, allocations: 2.631 MB / 1.106 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.4027, allocations: 59.41 kB / 1.106 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005675/0.4032, allocations: 466 kB / 1.107 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.035e-05/0.4033, allocations: 29.7 kB / 1.107 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002762/0.4036, allocations: 347.6 kB / 1.107 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.4037, allocations: 145.9 kB / 1.107 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001778/0.4039, allocations: 106.1 kB / 1.107 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.4041, allocations: 362.8 kB / 1.107 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003614/0.4044, allocations: 237 kB / 1.108 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005057/0.405, allocations: 418.4 kB / 1.108 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000938/0.4059, allocations: 0.674 MB / 1.109 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.4059, allocations: 0 / 1.109 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001724/0.4076, allocations: 0.9174 MB / 1.11 GB, free: 152 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/0.4077, allocations: 13.97 kB / 1.11 GB, free: 140 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.4077, allocations: 4 kB / 1.11 GB, free: 136 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008428/0.4085, allocations: 230.3 kB / 1.11 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005111/0.4091, allocations: 111.9 kB / 1.11 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00562/0.4147, allocations: 5.359 MB / 1.115 GB, free: 10 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004867/0.4152, allocations: 27.97 kB / 1.115 GB, free: 9.973 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.165e-05/0.4153, allocations: 24 kB / 1.115 GB, free: 9.949 MB / 0.8731 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.0003242/0.4156, allocations: 217.7 kB / 1.115 GB, free: 9.727 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.4157, allocations: 63.28 kB / 1.116 GB, free: 9.664 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/0.4172, allocations: 0.7658 MB / 1.116 GB, free: 8.883 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.4173, allocations: 8 kB / 1.116 GB, free: 8.875 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4173, allocations: 4 kB / 1.116 GB, free: 8.871 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.4173, allocations: 3.984 kB / 1.116 GB, free: 8.867 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002514/0.4198, allocations: 1.498 MB / 1.118 GB, free: 7.281 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.4198, allocations: 4 kB / 1.118 GB, free: 7.277 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003888/0.4202, allocations: 72.09 kB / 1.118 GB, free: 7.207 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007076/0.4209, allocations: 210.3 kB / 1.118 GB, free: 6.992 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.179e-05/0.421, allocations: 8 kB / 1.118 GB, free: 6.984 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005567/0.4265, allocations: 5.281 MB / 1.123 GB, free: 1.289 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.4266, allocations: 0 / 1.123 GB, free: 1.289 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001886/0.4285, allocations: 1.139 MB / 1.124 GB, free: 104 kB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003256/0.4288, allocations: 164.8 kB / 1.124 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.864e-05/0.4289, allocations: 27.98 kB / 1.124 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003263/0.4292, allocations: 23.95 kB / 1.125 GB, free: 15.87 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.422e-05/0.4293, allocations: 31.91 kB / 1.125 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.131e-05/0.4294, allocations: 16 kB / 1.125 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003649/0.4297, allocations: 314.9 kB / 1.125 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4297, allocations: 0 / 1.125 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000678/0.4304, allocations: 168 kB / 1.125 GB, free: 15.35 MB / 0.8887 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.000165/0.4306, allocations: 115.2 kB / 1.125 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001724/0.4323, allocations: 1.063 MB / 1.126 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.4324, allocations: 4 kB / 1.126 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000994/0.4334, allocations: 0.6799 MB / 1.127 GB, free: 13.4 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008841/0.4342, allocations: 184.7 kB / 1.127 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/0.4366, allocations: 1.51 MB / 1.128 GB, free: 11.67 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006113/0.4372, allocations: 0.9533 MB / 1.129 GB, free: 10.69 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003777/0.4376, allocations: 113 kB / 1.13 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.4377, allocations: 35.44 kB / 1.13 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of SimCode: time 6.01e-07/0.4377, allocations: 4 kB / 1.13 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of Templates: time 0.01747/0.4552, allocations: 8.923 MB / 1.138 GB, free: 1.73 MB / 0.8887 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches