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.001221/0.001221, allocations: 108.6 kB / 16.41 MB, free: 6.496 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.001086/0.001087, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.739/2.739, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 64.12 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9718/0.9731, allocations: 157.4 MB / 1.208 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.00832/0.9815, allocations: 6.736 MB / 1.215 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006052/0.9876, allocations: 3.043 MB / 1.218 GB, free: 3.883 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009277/0.9885, allocations: 23.88 kB / 1.218 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002815/0.9914, allocations: 0.9525 MB / 1.219 GB, free: 2.906 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00174/0.9931, allocations: 0.4973 MB / 1.219 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.9946, allocations: 427 kB / 1.22 GB, free: 1.988 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002036/0.9966, allocations: 1.22 MB / 1.221 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001264/0.9979, allocations: 0.6621 MB / 1.222 GB, free: 104 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/0.999, allocations: 478.3 kB / 1.222 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/1, allocations: 0.5176 MB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002789/1, allocations: 67.98 kB / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/1.002, allocations: 379.2 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004665/1.002, allocations: 303.2 kB / 1.223 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0008563/1.003, allocations: 445.7 kB / 1.224 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002028/1.005, allocations: 1.217 MB / 1.225 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/1.005, allocations: 4 kB / 1.225 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.993e-06/1.005, allocations: 4 kB / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.222e-05/1.005, allocations: 0 / 1.225 GB, free: 12.71 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.0027/1.008, allocations: 1.161 MB / 1.226 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/1.008, allocations: 8.031 kB / 1.226 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001708/1.01, allocations: 235.5 kB / 1.226 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/1.011, allocations: 0.596 MB / 1.227 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.626e-05/1.011, allocations: 45.69 kB / 1.227 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/1.011, allocations: 68.27 kB / 1.227 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001722/1.013, allocations: 1.093 MB / 1.228 GB, free: 9.312 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.673e-05/1.013, allocations: 7.938 kB / 1.228 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-05/1.013, allocations: 27.98 kB / 1.228 GB, free: 9.277 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001698/1.013, allocations: 81.27 kB / 1.228 GB, free: 9.195 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001249/1.014, allocations: 0.7504 MB / 1.229 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005722/1.02, allocations: 5.874 MB / 1.235 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000976/1.021, allocations: 0.5594 MB / 1.235 GB, free: 1.574 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004389/1.021, allocations: 322 kB / 1.236 GB, free: 1.258 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.381e-05/1.021, allocations: 12.38 kB / 1.236 GB, free: 1.246 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/1.021, allocations: 35 kB / 1.236 GB, free: 1.199 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=47): time 3.467e-06/1.021, allocations: 0 / 1.236 GB, free: 1.199 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48): time 0.003896/1.025, allocations: 1.986 MB / 1.237 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/1.025, allocations: 63.83 kB / 1.238 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006737/1.026, allocations: 0.547 MB / 1.238 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.488e-05/1.026, allocations: 33.7 kB / 1.238 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002767/1.026, allocations: 418.9 kB / 1.239 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/1.027, allocations: 177.4 kB / 1.239 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/1.027, allocations: 130.5 kB / 1.239 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001637/1.027, allocations: 378.7 kB / 1.239 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004003/1.027, allocations: 269.8 kB / 1.239 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000524/1.028, allocations: 489 kB / 1.24 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009777/1.029, allocations: 0.8132 MB / 1.241 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.029, allocations: 0 / 1.241 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001795/1.031, allocations: 1.09 MB / 1.242 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/1.031, allocations: 8 kB / 1.242 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/1.031, allocations: 12.84 kB / 1.242 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008577/1.032, allocations: 279.1 kB / 1.242 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004669/1.032, allocations: 131.8 kB / 1.242 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006323/1.038, allocations: 7.126 MB / 1.249 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006981/1.039, allocations: 35.95 kB / 1.249 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.392e-05/1.039, allocations: 32 kB / 1.249 GB, free: 2.305 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.0004033/1.04, allocations: 257.5 kB / 1.249 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/1.04, allocations: 75.16 kB / 1.25 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001559/1.041, allocations: 0.8846 MB / 1.25 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/1.041, allocations: 8 kB / 1.25 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/1.041, allocations: 4 kB / 1.25 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/1.041, allocations: 7.922 kB / 1.25 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002569/1.044, allocations: 1.717 MB / 1.252 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/1.044, allocations: 11.88 kB / 1.252 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002724/1.044, allocations: 59.89 kB / 1.252 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000727/1.045, allocations: 275.4 kB / 1.252 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.318e-05/1.045, allocations: 16 kB / 1.252 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006137/1.051, allocations: 7.11 MB / 1.259 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.051, allocations: 4.031 kB / 1.259 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001574/1.053, allocations: 0.9835 MB / 1.26 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003001/1.053, allocations: 188.2 kB / 1.261 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.238e-05/1.053, allocations: 12 kB / 1.261 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003721/1.054, allocations: 27.91 kB / 1.261 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/1.054, allocations: 51.88 kB / 1.261 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-05/1.054, allocations: 16.14 kB / 1.261 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000435/1.054, allocations: 379.1 kB / 1.261 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of sort global known variables: time 4.31e-07/1.054, allocations: 0 / 1.261 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008205/1.055, allocations: 228 kB / 1.261 GB, free: 5.266 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.0001694/1.055, allocations: 115.2 kB / 1.261 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001889/1.057, allocations: 1.268 MB / 1.263 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/1.057, allocations: 0 / 1.263 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00117/1.058, allocations: 0.8971 MB / 1.263 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/1.059, allocations: 240.3 kB / 1.264 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/1.061, allocations: 1.381 MB / 1.265 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005505/1.062, allocations: 1.009 MB / 1.266 GB, free: 184 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/1.062, allocations: 43.44 kB / 1.266 GB, free: 140 kB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/1.062, allocations: 0 / 1.266 GB, free: 140 kB / 0.9825 GB Notification: Performance of Templates: time 0.0234/1.086, allocations: 20.71 MB / 1.286 GB, free: 11.48 MB / 1.014 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/jenkins1/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