Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.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.OnePhase.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.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.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.OnePhase.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.008578/0.008579, allocations: 100.6 kB / 15.73 MB, free: 6.453 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.001866/0.001867, allocations: 184.8 kB / 16.67 MB, free: 6.367 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.741/2.741, allocations: 461.9 MB / 0.7347 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 67.88 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3339, allocations: 157.4 MB / 1.208 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008262/0.3422, allocations: 6.734 MB / 1.214 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004738/0.347, allocations: 3.047 MB / 1.217 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000442/0.3475, allocations: 27.81 kB / 1.217 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002311/0.3498, allocations: 0.9436 MB / 1.218 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001169/0.351, allocations: 0.4972 MB / 1.219 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009697/0.352, allocations: 432.6 kB / 1.219 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001129/0.3531, allocations: 1.22 MB / 1.22 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008052/0.3539, allocations: 0.6583 MB / 1.221 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005044/0.3544, allocations: 482.2 kB / 1.221 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006301/0.3551, allocations: 0.5175 MB / 1.222 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.501e-05/0.3552, allocations: 68 kB / 1.222 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006414/0.3558, allocations: 383.2 kB / 1.222 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002577/0.3561, allocations: 311.1 kB / 1.223 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003744/0.3565, allocations: 441.8 kB / 1.223 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.3576, allocations: 1.215 MB / 1.224 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3576, allocations: 4 kB / 1.224 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3576, allocations: 0 / 1.224 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.486e-05/0.3576, allocations: 7.938 kB / 1.224 GB, free: 8.625 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001701/0.3593, allocations: 1.161 MB / 1.225 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.3594, allocations: 16.56 kB / 1.225 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/0.3608, allocations: 235.6 kB / 1.226 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009221/0.3617, allocations: 0.5882 MB / 1.226 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.713e-05/0.3618, allocations: 49.69 kB / 1.226 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.785e-05/0.3619, allocations: 60.36 kB / 1.226 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.3632, allocations: 1.101 MB / 1.227 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.3632, allocations: 4 kB / 1.227 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.635e-05/0.3633, allocations: 24 kB / 1.227 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001395/0.3635, allocations: 85.25 kB / 1.228 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.3645, allocations: 0.7503 MB / 1.228 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004895/0.3694, allocations: 5.874 MB / 1.234 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009028/0.3703, allocations: 0.5476 MB / 1.235 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004021/0.3707, allocations: 333.1 kB / 1.235 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.697e-05/0.3708, allocations: 8.438 kB / 1.235 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.3708, allocations: 42.97 kB / 1.235 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=47): time 1.954e-06/0.3708, allocations: 0 / 1.235 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48): time 0.003477/0.3743, allocations: 1.986 MB / 1.237 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.3744, allocations: 59.84 kB / 1.237 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005367/0.3749, allocations: 0.5508 MB / 1.237 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.3749, allocations: 33.7 kB / 1.237 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/0.3752, allocations: 418.9 kB / 1.238 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.3753, allocations: 169.6 kB / 1.238 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001774/0.3755, allocations: 130.5 kB / 1.238 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.3756, allocations: 378.7 kB / 1.238 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/0.376, allocations: 273.8 kB / 1.239 GB, free: 9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004845/0.3765, allocations: 493 kB / 1.239 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009177/0.3774, allocations: 0.8171 MB / 1.24 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.3774, allocations: 4 kB / 1.24 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001616/0.379, allocations: 1.083 MB / 1.241 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.3791, allocations: 8 kB / 1.241 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.3791, allocations: 8 kB / 1.241 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007864/0.3799, allocations: 275.9 kB / 1.241 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004466/0.3803, allocations: 127.8 kB / 1.241 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7162/1.097, allocations: 7.125 MB / 1.248 GB, free: 36.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006981/1.097, allocations: 39.05 kB / 1.248 GB, free: 36.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.285e-05/1.097, allocations: 32.69 kB / 1.249 GB, free: 36.59 MB / 0.9981 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.0003503/1.098, allocations: 251 kB / 1.249 GB, free: 36.47 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/1.098, allocations: 71.28 kB / 1.249 GB, free: 36.47 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001601/1.099, allocations: 0.8903 MB / 1.25 GB, free: 36.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/1.099, allocations: 5 kB / 1.25 GB, free: 36.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.099, allocations: 6.656 kB / 1.25 GB, free: 36.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/1.1, allocations: 2.766 kB / 1.25 GB, free: 36.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002487/1.102, allocations: 1.727 MB / 1.251 GB, free: 36.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/1.102, allocations: 2.719 kB / 1.251 GB, free: 36.01 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002496/1.102, allocations: 65.59 kB / 1.251 GB, free: 36.01 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006651/1.103, allocations: 265 kB / 1.252 GB, free: 35.98 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.36e-05/1.103, allocations: 13.16 kB / 1.252 GB, free: 35.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004753/1.108, allocations: 7.125 MB / 1.259 GB, free: 30.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/1.108, allocations: 10.14 kB / 1.259 GB, free: 30.59 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/1.109, allocations: 0.9858 MB / 1.26 GB, free: 30.34 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002938/1.109, allocations: 197.6 kB / 1.26 GB, free: 30.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.779e-05/1.11, allocations: 11.08 kB / 1.26 GB, free: 30.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000357/1.11, allocations: 27.25 kB / 1.26 GB, free: 30.22 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/1.11, allocations: 45.94 kB / 1.26 GB, free: 30.22 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-05/1.11, allocations: 14.69 kB / 1.26 GB, free: 30.22 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005197/1.111, allocations: 383.6 kB / 1.26 GB, free: 30.12 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.31e-07/1.111, allocations: 0 / 1.26 GB, free: 30.12 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008206/1.111, allocations: 225 kB / 1.261 GB, free: 30.12 MB / 0.9981 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.0001382/1.112, allocations: 116 kB / 1.261 GB, free: 30.04 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001728/1.113, allocations: 1.28 MB / 1.262 GB, free: 29.54 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/1.113, allocations: 0 / 1.262 GB, free: 29.54 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/1.114, allocations: 0.8908 MB / 1.263 GB, free: 29.07 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009693/1.115, allocations: 205.2 kB / 1.263 GB, free: 29.06 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/1.118, allocations: 1.326 MB / 1.264 GB, free: 28.52 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006062/1.118, allocations: 1.009 MB / 1.265 GB, free: 27.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004008/1.119, allocations: 126.8 kB / 1.265 GB, free: 27.78 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/1.119, allocations: 41.61 kB / 1.265 GB, free: 27.77 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/1.119, allocations: 0 / 1.265 GB, free: 27.77 MB / 0.9981 GB Notification: Performance of Templates: time 0.02601/1.145, allocations: 11.53 MB / 1.277 GB, free: 27.12 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches