Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001728/0.001728, allocations: 103.5 kB / 16.41 MB, free: 6.508 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.001968/0.001968, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.548/1.548, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.694/2.694, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 63.91 kB / 1.055 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.926/0.9275, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01033/0.9379, allocations: 6.796 MB / 1.215 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006015/0.944, allocations: 3.067 MB / 1.218 GB, free: 3.711 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008722/0.9449, allocations: 27.81 kB / 1.218 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002945/0.9479, allocations: 0.9558 MB / 1.219 GB, free: 2.727 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001756/0.9497, allocations: 0.5051 MB / 1.22 GB, free: 2.219 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001477/0.9512, allocations: 445.4 kB / 1.22 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00213/0.9533, allocations: 1.228 MB / 1.221 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001429/0.9548, allocations: 0.6698 MB / 1.222 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.9558, allocations: 470.4 kB / 1.222 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001199/0.9571, allocations: 0.5253 MB / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.00031/0.9574, allocations: 68 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001286/0.9587, allocations: 379.1 kB / 1.223 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0005995/0.9593, allocations: 315.1 kB / 1.223 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.00105/0.9603, allocations: 445.8 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002454/0.9628, allocations: 1.228 MB / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.9628, allocations: 0 / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.184e-06/0.9628, allocations: 0 / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.137e-05/0.9629, allocations: 0 / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002949/0.9659, allocations: 1.165 MB / 1.226 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/0.9659, allocations: 12.03 kB / 1.226 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002012/0.968, allocations: 239.5 kB / 1.226 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.9692, allocations: 0.5998 MB / 1.227 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.263e-05/0.9693, allocations: 57.61 kB / 1.227 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/0.9694, allocations: 64.36 kB / 1.227 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/0.9714, allocations: 1.089 MB / 1.228 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.458e-05/0.9714, allocations: 7.938 kB / 1.228 GB, free: 9.051 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.791e-05/0.9715, allocations: 31.98 kB / 1.228 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001892/0.9717, allocations: 85.25 kB / 1.228 GB, free: 8.934 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001404/0.9731, allocations: 0.7543 MB / 1.229 GB, free: 8.18 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006938/0.9801, allocations: 5.874 MB / 1.235 GB, free: 1.879 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.9812, allocations: 0.5522 MB / 1.235 GB, free: 1.32 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004865/0.9817, allocations: 326 kB / 1.236 GB, free: 1 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.151e-05/0.9817, allocations: 8.438 kB / 1.236 GB, free: 0.9922 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.588e-05/0.9818, allocations: 39 kB / 1.236 GB, free: 0.9414 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=47): time 3.105e-06/0.9818, allocations: 3.938 kB / 1.236 GB, free: 0.9375 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48): time 0.004319/0.9861, allocations: 1.99 MB / 1.238 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.9862, allocations: 55.84 kB / 1.238 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008679/0.9871, allocations: 0.5548 MB / 1.238 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.45e-05/0.9872, allocations: 41.7 kB / 1.238 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003491/0.9875, allocations: 418.9 kB / 1.239 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/0.9877, allocations: 173.6 kB / 1.239 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002337/0.9879, allocations: 126.4 kB / 1.239 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001879/0.9881, allocations: 378.7 kB / 1.239 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004234/0.9886, allocations: 273.8 kB / 1.24 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005597/0.9891, allocations: 497 kB / 1.24 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.9902, allocations: 0.8132 MB / 1.241 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.9902, allocations: 0 / 1.241 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001898/0.9921, allocations: 1.087 MB / 1.242 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.9921, allocations: 13.88 kB / 1.242 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.9921, allocations: 8 kB / 1.242 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008597/0.993, allocations: 279.1 kB / 1.242 GB, free: 9.914 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004901/0.9935, allocations: 131.7 kB / 1.242 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00681/1, allocations: 7.122 MB / 1.249 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006847/1.001, allocations: 39.95 kB / 1.249 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-05/1.001, allocations: 28 kB / 1.249 GB, free: 2.031 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (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.0004206/1.002, allocations: 257.5 kB / 1.25 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/1.002, allocations: 71.16 kB / 1.25 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001646/1.003, allocations: 0.8928 MB / 1.251 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/1.003, allocations: 4 kB / 1.251 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/1.003, allocations: 8 kB / 1.251 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/1.003, allocations: 3.984 kB / 1.251 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002763/1.006, allocations: 1.721 MB / 1.252 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/1.006, allocations: 3.984 kB / 1.252 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002736/1.007, allocations: 71.77 kB / 1.252 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007603/1.007, allocations: 271.4 kB / 1.253 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.833e-05/1.007, allocations: 12 kB / 1.253 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00669/1.014, allocations: 7.11 MB / 1.26 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/1.014, allocations: 3.938 kB / 1.26 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/1.016, allocations: 0.9834 MB / 1.261 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003569/1.016, allocations: 192.2 kB / 1.261 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001311/1.016, allocations: 8 kB / 1.261 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004451/1.017, allocations: 39.89 kB / 1.261 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/1.017, allocations: 43.89 kB / 1.261 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.484e-05/1.017, allocations: 16.19 kB / 1.261 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005196/1.017, allocations: 387.1 kB / 1.261 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.1e-07/1.017, allocations: 0 / 1.261 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009336/1.018, allocations: 220 kB / 1.261 GB, free: 4.984 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001928/1.019, allocations: 123.2 kB / 1.261 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00214/1.021, allocations: 1.275 MB / 1.263 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/1.021, allocations: 4.125 kB / 1.263 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001259/1.022, allocations: 0.8896 MB / 1.264 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/1.023, allocations: 234 kB / 1.264 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002575/1.026, allocations: 1.39 MB / 1.265 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000756/1.026, allocations: 1.009 MB / 1.266 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/1.027, allocations: 47.44 kB / 1.266 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of SimCode: time 1.442e-06/1.027, allocations: 0 / 1.266 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of Templates: time 0.02708/1.054, allocations: 20.92 MB / 1.287 GB, free: 10.96 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches