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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007122/0.007122, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001382/0.001382, allocations: 198.4 kB / 16.68 MB, free: 5.926 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.978/2.978, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 67.89 kB / 1.054 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3306, allocations: 157.4 MB / 1.208 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007326/0.3379, allocations: 5.533 MB / 1.213 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004314/0.3423, allocations: 2.642 MB / 1.216 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005284/0.3428, allocations: 27.81 kB / 1.216 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001996/0.3449, allocations: 0.6786 MB / 1.216 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001166/0.3461, allocations: 417.7 kB / 1.217 GB, free: 320 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.3472, allocations: 409.5 kB / 1.217 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001341/0.3485, allocations: 0.9591 MB / 1.218 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000726/0.3493, allocations: 466.4 kB / 1.219 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006562/0.35, allocations: 374.7 kB / 1.219 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006897/0.3507, allocations: 406.4 kB / 1.219 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.3508, allocations: 48 kB / 1.219 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00075/0.3515, allocations: 359.3 kB / 1.22 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003041/0.3519, allocations: 251.3 kB / 1.22 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005028/0.3524, allocations: 350.2 kB / 1.22 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.3537, allocations: 0.9734 MB / 1.221 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3538, allocations: 4 kB / 1.221 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3538, allocations: 0 / 1.221 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.035e-05/0.3538, allocations: 0 / 1.221 GB, free: 11.76 MB / 0.9825 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.001874/0.3557, allocations: 0.9775 MB / 1.222 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.3557, allocations: 8.625 kB / 1.222 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001584/0.3573, allocations: 199.9 kB / 1.222 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009278/0.3583, allocations: 0.5412 MB / 1.223 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/0.3583, allocations: 33.38 kB / 1.223 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001561/0.3585, allocations: 52.55 kB / 1.223 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.3596, allocations: 0.828 MB / 1.224 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/0.3596, allocations: 11.88 kB / 1.224 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.354e-05/0.3597, allocations: 20 kB / 1.224 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001774/0.3599, allocations: 68.94 kB / 1.224 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008732/0.3608, allocations: 0.5658 MB / 1.224 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004348/0.3651, allocations: 4.573 MB / 1.229 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004334/0.3656, allocations: 295.2 kB / 1.229 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002815/0.3659, allocations: 229.2 kB / 1.229 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.3659, allocations: 4.281 kB / 1.229 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.3659, allocations: 34.84 kB / 1.229 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 2.094e-06/0.3659, allocations: 4 kB / 1.229 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of matching and sorting (n=40): time 0.005249/0.3712, allocations: 2.639 MB / 1.232 GB, free: 24 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.3713, allocations: 55.41 kB / 1.232 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004498/0.3717, allocations: 466 kB / 1.233 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.554e-05/0.3718, allocations: 37.7 kB / 1.233 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/0.372, allocations: 347.6 kB / 1.233 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.3721, allocations: 137.9 kB / 1.233 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/0.3723, allocations: 106.2 kB / 1.233 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.3724, allocations: 358.8 kB / 1.233 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003419/0.3727, allocations: 241 kB / 1.234 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004378/0.3732, allocations: 410.4 kB / 1.234 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008087/0.374, allocations: 0.6779 MB / 1.235 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.374, allocations: 0 / 1.235 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001557/0.3756, allocations: 0.9171 MB / 1.236 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.3756, allocations: 8 kB / 1.236 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.3756, allocations: 7.984 kB / 1.236 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007575/0.3764, allocations: 227 kB / 1.236 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004791/0.3769, allocations: 119.8 kB / 1.236 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004846/0.3817, allocations: 5.328 MB / 1.241 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004046/0.3822, allocations: 36.03 kB / 1.241 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.335e-05/0.3822, allocations: 24 kB / 1.241 GB, free: 5.926 MB / 0.9981 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.0002852/0.3825, allocations: 221.8 kB / 1.241 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.3826, allocations: 63.27 kB / 1.242 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001392/0.384, allocations: 0.7658 MB / 1.242 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.384, allocations: 8 kB / 1.242 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.3841, allocations: 7.984 kB / 1.242 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.3841, allocations: 144 / 1.242 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002375/0.3864, allocations: 1.501 MB / 1.244 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.3865, allocations: 4 kB / 1.244 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003619/0.3868, allocations: 71.86 kB / 1.244 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006503/0.3875, allocations: 210.5 kB / 1.244 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.177e-05/0.3875, allocations: 11.94 kB / 1.244 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6654/1.053, allocations: 5.265 MB / 1.249 GB, free: 35.54 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/1.053, allocations: 2.734 kB / 1.249 GB, free: 35.54 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001974/1.055, allocations: 1.13 MB / 1.25 GB, free: 35.33 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002951/1.055, allocations: 170.5 kB / 1.25 GB, free: 35.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.447e-05/1.055, allocations: 13.64 kB / 1.25 GB, free: 35.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003213/1.056, allocations: 27.11 kB / 1.251 GB, free: 35.23 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.945e-05/1.056, allocations: 38.05 kB / 1.251 GB, free: 35.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.169e-05/1.056, allocations: 12.69 kB / 1.251 GB, free: 35.23 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003489/1.056, allocations: 315.2 kB / 1.251 GB, free: 35.14 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/1.056, allocations: 0 / 1.251 GB, free: 35.14 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007044/1.057, allocations: 169.3 kB / 1.251 GB, free: 35.14 MB / 0.9981 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.000154/1.057, allocations: 115.2 kB / 1.251 GB, free: 35.05 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001499/1.059, allocations: 1.013 MB / 1.252 GB, free: 34.72 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.059, allocations: 4.844 kB / 1.252 GB, free: 34.72 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007657/1.059, allocations: 0.6795 MB / 1.253 GB, free: 34.38 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008446/1.06, allocations: 182 kB / 1.253 GB, free: 34.38 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/1.062, allocations: 1.267 MB / 1.254 GB, free: 33.88 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/1.062, allocations: 0.9497 MB / 1.255 GB, free: 33.17 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002792/1.062, allocations: 111.8 kB / 1.255 GB, free: 33.16 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.263e-05/1.063, allocations: 34.44 kB / 1.255 GB, free: 33.15 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/1.063, allocations: 10.42 kB / 1.255 GB, free: 33.14 MB / 0.9981 GB Notification: Performance of Templates: time 0.0223/1.085, allocations: 9.152 MB / 1.264 GB, free: 32.63 MB / 0.9981 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=480 -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