Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.ACLineMedium,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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001871/0.001871, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002313/0.002313, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.459/1.459, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.954/2.954, allocations: 469.8 MB / 0.7423 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002872/0.002872, allocations: 70.62 kB / 0.9085 GB, free: 34.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.3985, allocations: 159.2 MB / 1.064 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02023/0.4187, allocations: 14.79 MB / 1.078 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01861/0.4374, allocations: 10.35 MB / 1.089 GB, free: 5.09 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002202/0.4397, allocations: 55.62 kB / 1.089 GB, free: 5.035 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.005026/0.4448, allocations: 1.69 MB / 1.09 GB, free: 3.34 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.008084/0.4529, allocations: 1.811 MB / 1.092 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002747/0.4556, allocations: 0.7617 MB / 1.093 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.005348/0.461, allocations: 2.744 MB / 1.095 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002965/0.464, allocations: 1.411 MB / 1.097 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003011/0.467, allocations: 1.496 MB / 1.098 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002812/0.4698, allocations: 1.175 MB / 1.099 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0006536/0.4705, allocations: 160 kB / 1.1 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002247/0.4728, allocations: 0.7838 MB / 1.1 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0007355/0.4735, allocations: 0.6036 MB / 1.101 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00131/0.4748, allocations: 0.9484 MB / 1.102 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003598/0.4785, allocations: 2.737 MB / 1.104 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.4785, allocations: 4 kB / 1.104 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4785, allocations: 0 / 1.104 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.347e-05/0.4785, allocations: 0 / 1.104 GB, free: 4.641 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004194/0.4827, allocations: 2.166 MB / 1.107 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.4828, allocations: 15.95 kB / 1.107 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01165/0.4944, allocations: 2.101 MB / 1.109 GB, free: 304 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003212/0.4977, allocations: 1.225 MB / 1.11 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.82e-05/0.4978, allocations: 86.69 kB / 1.11 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003198/0.4981, allocations: 112.1 kB / 1.11 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006671/0.5048, allocations: 2.674 MB / 1.113 GB, free: 12 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.012e-05/0.5049, allocations: 11.91 kB / 1.113 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001882/0.5051, allocations: 55.98 kB / 1.113 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007225/0.5058, allocations: 194.1 kB / 1.113 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008129/0.5139, allocations: 2.783 MB / 1.116 GB, free: 8.945 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01592/0.5299, allocations: 10.51 MB / 1.126 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006901/0.5368, allocations: 2.344 MB / 1.128 GB, free: 11.47 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003249/0.5401, allocations: 1.276 MB / 1.129 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.705e-05/0.5402, allocations: 12.94 kB / 1.129 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.823e-05/0.5403, allocations: 43.56 kB / 1.129 GB, free: 10.13 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=89): time 3.357e-06/0.5403, allocations: 0 / 1.129 GB, free: 10.13 MB / 0.8887 GB Notification: Performance of matching and sorting (n=153): time 0.06201/0.6023, allocations: 16.48 MB / 1.146 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.6024, allocations: 64.72 kB / 1.146 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/0.6042, allocations: 1.18 MB / 1.147 GB, free: 8.227 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0002256/0.6044, allocations: 53.7 kB / 1.147 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006632/0.6051, allocations: 0.7475 MB / 1.148 GB, free: 7.414 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005793/0.6057, allocations: 0.5159 MB / 1.148 GB, free: 6.891 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005782/0.6063, allocations: 287.5 kB / 1.148 GB, free: 6.605 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.6064, allocations: 305.1 kB / 1.149 GB, free: 6.305 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003673/0.6101, allocations: 1.507 MB / 1.15 GB, free: 4.797 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003911/0.614, allocations: 1.784 MB / 1.152 GB, free: 2.918 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007729/0.6218, allocations: 3.365 MB / 1.155 GB, free: 15.46 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/0.6218, allocations: 4 kB / 1.155 GB, free: 15.45 MB / 0.92 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01521/0.637, allocations: 5.277 MB / 1.16 GB, free: 10.14 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.399e-05/0.6371, allocations: 8 kB / 1.16 GB, free: 10.13 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.6371, allocations: 12.06 kB / 1.16 GB, free: 10.12 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007372/0.6445, allocations: 1.893 MB / 1.162 GB, free: 8.203 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002184/0.6467, allocations: 411.2 kB / 1.163 GB, free: 7.801 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03675/0.6835, allocations: 24.15 MB / 1.186 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002878/0.6864, allocations: 311.7 kB / 1.186 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002556/0.6867, allocations: 67.91 kB / 1.187 GB, free: 14.16 MB / 0.9512 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009755/0.6877, allocations: 469.4 kB / 1.187 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004095/0.6881, allocations: 177.9 kB / 1.187 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01493/0.703, allocations: 5.312 MB / 1.192 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-05/0.7031, allocations: 15.94 kB / 1.192 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.651e-05/0.7031, allocations: 23.94 kB / 1.192 GB, free: 8.125 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.152e-05/0.7031, allocations: 7.969 kB / 1.192 GB, free: 8.117 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01906/0.7222, allocations: 7.43 MB / 1.2 GB, free: 0.5625 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.981e-05/0.7223, allocations: 4 kB / 1.2 GB, free: 0.5586 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001832/0.7241, allocations: 355.7 kB / 1.2 GB, free: 216 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006561/0.7307, allocations: 1.719 MB / 1.202 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002347/0.731, allocations: 43.97 kB / 1.202 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0334/0.7644, allocations: 23.32 MB / 1.224 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.7644, allocations: 4.031 kB / 1.224 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01379/0.7782, allocations: 4.889 MB / 1.229 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00122/0.7794, allocations: 494.7 kB / 1.23 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004512/0.7799, allocations: 32 kB / 1.23 GB, free: 492 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002463/0.7824, allocations: 315.9 kB / 1.23 GB, free: 176 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005958/0.783, allocations: 153 kB / 1.23 GB, free: 20 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001796/0.7832, allocations: 51.97 kB / 1.23 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001434/0.7846, allocations: 0.7899 MB / 1.231 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.8e-07/0.7847, allocations: 0 / 1.231 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002579/0.7872, allocations: 0.6601 MB / 1.232 GB, free: 14.52 MB / 0.9981 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003723/0.7876, allocations: 145.1 kB / 1.232 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01365/0.8013, allocations: 5.417 MB / 1.237 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/0.8013, allocations: 0 / 1.237 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007894/0.8092, allocations: 3.363 MB / 1.24 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003499/0.8128, allocations: 0.567 MB / 1.241 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/0.8238, allocations: 4.324 MB / 1.245 GB, free: 472 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5513/1.375, allocations: 1.561 MB / 1.247 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002073/1.377, allocations: 381.7 kB / 1.247 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004054/1.378, allocations: 105.1 kB / 1.247 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.433e-06/1.378, allocations: 0 / 1.247 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.09017/1.468, allocations: 44.86 MB / 1.291 GB, free: 155.1 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches