Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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,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.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,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.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 107.1 kB / 16.27 MB, free: 6.41 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.001624/0.001624, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.37/1.37, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.574/2.574, allocations: 469.4 MB / 0.7427 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 72.92 kB / 0.9088 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3589, allocations: 159.1 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01741/0.3764, allocations: 14.05 MB / 1.078 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.6824/1.059, allocations: 9.384 MB / 1.087 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001618/1.061, allocations: 58.09 kB / 1.087 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004405/1.065, allocations: 1.675 MB / 1.089 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.006296/1.071, allocations: 1.55 MB / 1.09 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002796/1.074, allocations: 0.7554 MB / 1.091 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.004378/1.079, allocations: 2.511 MB / 1.094 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002311/1.081, allocations: 1.412 MB / 1.095 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002674/1.084, allocations: 1.045 MB / 1.096 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002169/1.086, allocations: 1.134 MB / 1.097 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003526/1.086, allocations: 165.5 kB / 1.097 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002325/1.088, allocations: 0.7895 MB / 1.098 GB, free: 8.199 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0009033/1.089, allocations: 0.621 MB / 1.099 GB, free: 7.91 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001614/1.091, allocations: 0.9364 MB / 1.099 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.005457/1.096, allocations: 2.731 MB / 1.102 GB, free: 6.387 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 9.397e-06/1.096, allocations: 1.703 kB / 1.102 GB, free: 6.387 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.424e-06/1.096, allocations: 0 / 1.102 GB, free: 6.387 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.022e-05/1.097, allocations: 0 / 1.102 GB, free: 6.387 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005296/1.102, allocations: 2.134 MB / 1.104 GB, free: 5.078 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/1.102, allocations: 10.09 kB / 1.104 GB, free: 5.078 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01225/1.114, allocations: 2.086 MB / 1.106 GB, free: 4.945 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003344/1.118, allocations: 1.203 MB / 1.107 GB, free: 4.246 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.153e-05/1.118, allocations: 90.05 kB / 1.108 GB, free: 4.203 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004036/1.118, allocations: 122.1 kB / 1.108 GB, free: 4.16 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006593/1.125, allocations: 2.681 MB / 1.11 GB, free: 3.078 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.501e-05/1.125, allocations: 8.516 kB / 1.11 GB, free: 3.074 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001929/1.125, allocations: 58.08 kB / 1.11 GB, free: 3.031 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007084/1.126, allocations: 180.9 kB / 1.11 GB, free: 3.016 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00819/1.134, allocations: 2.796 MB / 1.113 GB, free: 2.289 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01744/1.151, allocations: 10.51 MB / 1.123 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007671/1.159, allocations: 2.524 MB / 1.126 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003706/1.163, allocations: 1.285 MB / 1.127 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001318/1.163, allocations: 10.25 kB / 1.127 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.931e-05/1.163, allocations: 42.88 kB / 1.127 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=89): time 3.196e-06/1.163, allocations: 1.062 kB / 1.127 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of matching and sorting (n=131): time 0.052/1.215, allocations: 13.35 MB / 1.14 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/1.215, allocations: 65.28 kB / 1.14 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002173/1.217, allocations: 1.121 MB / 1.141 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002832/1.218, allocations: 46.95 kB / 1.141 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006412/1.218, allocations: 0.7113 MB / 1.142 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006913/1.219, allocations: 458.5 kB / 1.143 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000763/1.22, allocations: 262.3 kB / 1.143 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001843/1.22, allocations: 368.3 kB / 1.143 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003668/1.224, allocations: 1.338 MB / 1.145 GB, free: 92 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003881/1.228, allocations: 1.603 MB / 1.146 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007678/1.235, allocations: 2.993 MB / 1.149 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/1.235, allocations: 6.438 kB / 1.149 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01325/1.249, allocations: 4.437 MB / 1.153 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/1.249, allocations: 12.19 kB / 1.153 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/1.249, allocations: 8.5 kB / 1.153 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005662/1.254, allocations: 1.451 MB / 1.155 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002313/1.257, allocations: 429.7 kB / 1.155 GB, free: 9.941 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02876/1.285, allocations: 26.71 MB / 1.181 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003366/1.289, allocations: 307.6 kB / 1.182 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004371/1.289, allocations: 59.95 kB / 1.182 GB, free: 15.12 MB / 0.9044 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001433/1.291, allocations: 437.4 kB / 1.182 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000623/1.291, allocations: 162.1 kB / 1.182 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01236/1.304, allocations: 4.453 MB / 1.187 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-05/1.304, allocations: 12 kB / 1.187 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.084e-05/1.304, allocations: 16 kB / 1.187 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-05/1.304, allocations: 7.969 kB / 1.187 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01685/1.321, allocations: 6.774 MB / 1.193 GB, free: 3.051 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/1.321, allocations: 4 kB / 1.193 GB, free: 3.047 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001906/1.323, allocations: 379.3 kB / 1.194 GB, free: 2.672 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004884/1.328, allocations: 1.314 MB / 1.195 GB, free: 1.316 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002541/1.328, allocations: 39.97 kB / 1.195 GB, free: 1.277 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02663/1.354, allocations: 25.5 MB / 1.22 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/1.355, allocations: 4 kB / 1.22 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01164/1.366, allocations: 4.208 MB / 1.224 GB, free: 1.637 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001232/1.367, allocations: 451 kB / 1.224 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005666/1.368, allocations: 27.98 kB / 1.224 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002497/1.371, allocations: 311.5 kB / 1.225 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004801/1.371, allocations: 124.7 kB / 1.225 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/1.371, allocations: 47.97 kB / 1.225 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001325/1.373, allocations: 0.7566 MB / 1.226 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.81e-07/1.373, allocations: 0 / 1.226 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00303/1.376, allocations: 0.5664 MB / 1.226 GB, free: 15.34 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004292/1.376, allocations: 147 kB / 1.226 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.01265/1.389, allocations: 5.521 MB / 1.232 GB, free: 9.508 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.111e-05/1.389, allocations: 0 / 1.232 GB, free: 9.508 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.007499/1.396, allocations: 3.48 MB / 1.235 GB, free: 5.855 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003565/1.4, allocations: 0.5573 MB / 1.236 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/1.41, allocations: 4.153 MB / 1.24 GB, free: 1.109 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00161/1.412, allocations: 1.47 MB / 1.241 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007898/1.413, allocations: 135.3 kB / 1.241 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of SimCode: time 1.223e-06/1.413, allocations: 0 / 1.241 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of Templates: time 0.1134/1.526, allocations: 112.5 MB / 1.351 GB, free: 15.01 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches