Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.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_11_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_11_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.009339/0.009339, allocations: 102.3 kB / 15.73 MB, free: 5.996 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.002033/0.002033, allocations: 187.4 kB / 16.67 MB, free: 5.93 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.73/2.73, allocations: 469.8 MB / 0.7425 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 64.11 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3194, allocations: 159.1 MB / 1.221 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.007997/0.3274, allocations: 6.753 MB / 1.227 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004919/0.3324, allocations: 3.043 MB / 1.23 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004854/0.3328, allocations: 27.81 kB / 1.23 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002487/0.3353, allocations: 0.9608 MB / 1.231 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001213/0.3365, allocations: 0.5168 MB / 1.232 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.3376, allocations: 431 kB / 1.232 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00134/0.3389, allocations: 1.22 MB / 1.233 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007587/0.3397, allocations: 0.5335 MB / 1.234 GB, free: 320 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005936/0.3403, allocations: 486.2 kB / 1.234 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006113/0.3409, allocations: 0.5098 MB / 1.235 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.413e-05/0.341, allocations: 64 kB / 1.235 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000668/0.3416, allocations: 383.2 kB / 1.235 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002696/0.3419, allocations: 323 kB / 1.235 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003821/0.3423, allocations: 449.8 kB / 1.236 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001274/0.3436, allocations: 1.214 MB / 1.237 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3436, allocations: 7.938 kB / 1.237 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3436, allocations: 0 / 1.237 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.338e-05/0.3436, allocations: 0 / 1.237 GB, free: 12.9 MB / 0.9981 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.001723/0.3453, allocations: 1.183 MB / 1.238 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.3453, allocations: 8.031 kB / 1.238 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00152/0.3469, allocations: 240.1 kB / 1.238 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008598/0.3477, allocations: 0.6003 MB / 1.239 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/0.3478, allocations: 41.69 kB / 1.239 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.3479, allocations: 68.31 kB / 1.239 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.3493, allocations: 1.093 MB / 1.24 GB, free: 9.477 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.082e-05/0.3493, allocations: 7.938 kB / 1.24 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.79e-05/0.3494, allocations: 31.98 kB / 1.24 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000142/0.3496, allocations: 85.25 kB / 1.24 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.3507, allocations: 0.7504 MB / 1.241 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00514/0.3558, allocations: 5.882 MB / 1.247 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009471/0.3568, allocations: 0.5109 MB / 1.247 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004321/0.3572, allocations: 293.9 kB / 1.248 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.458e-05/0.3572, allocations: 4.438 kB / 1.248 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.3573, allocations: 39 kB / 1.248 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=47): time 2.926e-06/0.3573, allocations: 0 / 1.248 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48): time 0.6841/1.041, allocations: 1.978 MB / 1.25 GB, free: 30.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/1.041, allocations: 60.47 kB / 1.25 GB, free: 30.14 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006936/1.042, allocations: 0.5561 MB / 1.25 GB, free: 30.01 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/1.042, allocations: 36.55 kB / 1.25 GB, free: 29.98 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/1.042, allocations: 424.5 kB / 1.251 GB, free: 29.79 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/1.042, allocations: 180.2 kB / 1.251 GB, free: 29.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/1.043, allocations: 131.3 kB / 1.251 GB, free: 29.68 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.807e-05/1.043, allocations: 371.2 kB / 1.251 GB, free: 29.37 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004133/1.043, allocations: 274.9 kB / 1.252 GB, free: 29.36 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004958/1.044, allocations: 497.8 kB / 1.252 GB, free: 29.12 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009321/1.045, allocations: 0.809 MB / 1.253 GB, free: 28.86 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/1.045, allocations: 4.812 kB / 1.253 GB, free: 28.86 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001835/1.046, allocations: 1.08 MB / 1.254 GB, free: 28.69 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/1.046, allocations: 11.88 kB / 1.254 GB, free: 28.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/1.046, allocations: 7.156 kB / 1.254 GB, free: 28.69 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008529/1.047, allocations: 276.2 kB / 1.254 GB, free: 28.66 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004801/1.048, allocations: 128 kB / 1.254 GB, free: 28.65 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004947/1.053, allocations: 7.143 MB / 1.261 GB, free: 23.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005405/1.053, allocations: 32.05 kB / 1.261 GB, free: 23.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.341e-05/1.053, allocations: 37.19 kB / 1.261 GB, free: 23.2 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.0003158/1.054, allocations: 254.3 kB / 1.262 GB, free: 23.07 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/1.054, allocations: 75.41 kB / 1.262 GB, free: 23.03 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/1.055, allocations: 0.8747 MB / 1.262 GB, free: 22.93 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/1.055, allocations: 5.828 kB / 1.262 GB, free: 22.93 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/1.055, allocations: 2.375 kB / 1.262 GB, free: 22.93 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/1.055, allocations: 14.12 kB / 1.262 GB, free: 22.93 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002318/1.057, allocations: 1.715 MB / 1.264 GB, free: 22.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/1.057, allocations: 2.625 kB / 1.264 GB, free: 22.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002566/1.058, allocations: 61.22 kB / 1.264 GB, free: 22.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006928/1.058, allocations: 262.8 kB / 1.264 GB, free: 22.46 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.937e-05/1.058, allocations: 9.672 kB / 1.264 GB, free: 22.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004853/1.063, allocations: 7.131 MB / 1.271 GB, free: 16.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/1.063, allocations: 2.547 kB / 1.271 GB, free: 16.61 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/1.065, allocations: 0.9783 MB / 1.272 GB, free: 16.08 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002702/1.065, allocations: 202 kB / 1.273 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.286e-05/1.065, allocations: 17.56 kB / 1.273 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003485/1.066, allocations: 33.5 kB / 1.273 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/1.066, allocations: 37.22 kB / 1.273 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-05/1.066, allocations: 19.38 kB / 1.273 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004981/1.066, allocations: 385.7 kB / 1.273 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.066, allocations: 0 / 1.273 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000947/1.067, allocations: 220.6 kB / 1.273 GB, free: 15.7 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.0001503/1.067, allocations: 122.2 kB / 1.273 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001838/1.069, allocations: 1.233 MB / 1.275 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.069, allocations: 1.125 kB / 1.275 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001086/1.07, allocations: 0.8683 MB / 1.275 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009324/1.071, allocations: 225.9 kB / 1.276 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/1.073, allocations: 1.33 MB / 1.277 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007145/1.074, allocations: 1.007 MB / 1.278 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003994/1.074, allocations: 126.5 kB / 1.278 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/1.075, allocations: 42.17 kB / 1.278 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of SimCode: time 7.31e-07/1.075, allocations: 0 / 1.278 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of Templates: time 0.02416/1.099, allocations: 11.4 MB / 1.289 GB, free: 12.03 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches