Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0008133/0.0008135, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.0008736/0.0008737, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.709/2.709, allocations: 437.7 MB / 0.7117 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003772/0.0003775, allocations: 15.94 kB / 0.8722 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8448/0.8452, allocations: 153.8 MB / 1.022 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.007966/0.8532, allocations: 5.994 MB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005048/0.8583, allocations: 2.873 MB / 1.031 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004181/0.8588, allocations: 23.81 kB / 1.031 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003805/0.8591, allocations: 138.8 kB / 1.031 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0009235/0.8601, allocations: 409.8 kB / 1.032 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008467/0.8609, allocations: 311.4 kB / 1.032 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001283/0.8622, allocations: 1.329 MB / 1.033 GB, free: 4.93 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001587/0.8638, allocations: 0.9209 MB / 1.034 GB, free: 3.984 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005497/0.8644, allocations: 394.4 kB / 1.034 GB, free: 3.598 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006212/0.865, allocations: 486.2 kB / 1.035 GB, free: 3.121 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.012e-05/0.8651, allocations: 39.94 kB / 1.035 GB, free: 3.082 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004327/0.8655, allocations: 195.7 kB / 1.035 GB, free: 2.891 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002534/0.8658, allocations: 267.2 kB / 1.035 GB, free: 2.629 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.866, allocations: 177.3 kB / 1.036 GB, free: 2.449 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008425/0.8668, allocations: 0.898 MB / 1.036 GB, free: 1.551 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.8668, allocations: 0 / 1.036 GB, free: 1.551 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.014e-06/0.8668, allocations: 0 / 1.036 GB, free: 1.551 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.8669, allocations: 0 / 1.036 GB, free: 1.551 MB / 0.7794 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.001585/0.8685, allocations: 1.024 MB / 1.037 GB, free: 488 kB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.8685, allocations: 12.52 kB / 1.037 GB, free: 476 kB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00145/0.87, allocations: 238.7 kB / 1.038 GB, free: 236 kB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007596/0.8707, allocations: 0.5172 MB / 1.038 GB, free: 15.66 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.284e-05/0.8708, allocations: 61.11 kB / 1.038 GB, free: 15.61 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.537e-05/0.8709, allocations: 59.98 kB / 1.038 GB, free: 15.55 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/0.8724, allocations: 1.073 MB / 1.039 GB, free: 14.37 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/0.8724, allocations: 11.94 kB / 1.039 GB, free: 14.36 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-05/0.8725, allocations: 31.98 kB / 1.039 GB, free: 14.33 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001471/0.8726, allocations: 85.25 kB / 1.039 GB, free: 14.25 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.8738, allocations: 0.7465 MB / 1.04 GB, free: 13.5 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00529/0.8791, allocations: 5.893 MB / 1.046 GB, free: 7.172 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.8802, allocations: 0.5528 MB / 1.047 GB, free: 6.609 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004634/0.8806, allocations: 326 kB / 1.047 GB, free: 6.289 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.25e-05/0.8807, allocations: 8.375 kB / 1.047 GB, free: 6.281 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.416e-05/0.8807, allocations: 46.98 kB / 1.047 GB, free: 6.227 MB / 0.795 GB Notification: Performance of pre-optimization done (n=47): time 2.284e-06/0.8808, allocations: 0 / 1.047 GB, free: 6.227 MB / 0.795 GB Notification: Performance of matching and sorting (n=48): time 0.003827/0.8846, allocations: 1.975 MB / 1.049 GB, free: 4.156 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.8846, allocations: 63.8 kB / 1.049 GB, free: 4.082 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006432/0.8853, allocations: 0.5508 MB / 1.049 GB, free: 3.523 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/0.8853, allocations: 33.7 kB / 1.049 GB, free: 3.484 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002858/0.8856, allocations: 418.9 kB / 1.05 GB, free: 3.066 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.8858, allocations: 169.6 kB / 1.05 GB, free: 2.898 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.8858, allocations: 16 kB / 1.05 GB, free: 2.883 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.886, allocations: 370.7 kB / 1.05 GB, free: 2.512 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003855/0.8864, allocations: 273.8 kB / 1.051 GB, free: 2.242 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005305/0.8869, allocations: 493 kB / 1.051 GB, free: 1.664 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004929/0.8874, allocations: 350 kB / 1.051 GB, free: 1.328 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.8874, allocations: 0 / 1.051 GB, free: 1.328 MB / 0.795 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00187/0.8893, allocations: 1.079 MB / 1.052 GB, free: 232 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.641e-05/0.8893, allocations: 8 kB / 1.053 GB, free: 224 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/0.8894, allocations: 8 kB / 1.053 GB, free: 216 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000897/0.8903, allocations: 275.8 kB / 1.053 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004929/0.8908, allocations: 127.7 kB / 1.053 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006954/0.8977, allocations: 6.607 MB / 1.059 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000773/0.8986, allocations: 39.97 kB / 1.059 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.568e-05/0.8986, allocations: 28 kB / 1.059 GB, free: 8.598 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005252/0.8992, allocations: 249.5 kB / 1.06 GB, free: 8.344 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.8993, allocations: 71.16 kB / 1.06 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001571/0.9009, allocations: 0.8847 MB / 1.061 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.9009, allocations: 7.953 kB / 1.061 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.9009, allocations: 4.188 kB / 1.061 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.9009, allocations: 11.92 kB / 1.061 GB, free: 7.348 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002588/0.9035, allocations: 1.725 MB / 1.062 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.9035, allocations: 0 / 1.062 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002481/0.9038, allocations: 63.89 kB / 1.062 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006985/0.9045, allocations: 267.2 kB / 1.063 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.646e-05/0.9046, allocations: 12 kB / 1.063 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00622/0.9108, allocations: 6.58 MB / 1.069 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.9108, allocations: 3.984 kB / 1.069 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/0.9126, allocations: 0.9835 MB / 1.07 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003111/0.9129, allocations: 196.2 kB / 1.07 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.542e-05/0.913, allocations: 8 kB / 1.07 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003256/0.9133, allocations: 27.97 kB / 1.07 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.9134, allocations: 39.94 kB / 1.07 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.179e-05/0.9135, allocations: 16 kB / 1.07 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004721/0.914, allocations: 387 kB / 1.071 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2e-07/0.914, allocations: 0 / 1.071 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0009355/0.9149, allocations: 220 kB / 1.071 GB, free: 12.14 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001895/0.9151, allocations: 111.2 kB / 1.071 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00211/0.9172, allocations: 1.271 MB / 1.072 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/0.9172, allocations: 0 / 1.072 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001244/0.9185, allocations: 0.8893 MB / 1.073 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.9195, allocations: 208.3 kB / 1.073 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002323/0.9218, allocations: 1.59 MB / 1.075 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000648/0.9225, allocations: 1.009 MB / 1.076 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0004114/0.9229, allocations: 118 kB / 1.076 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.923, allocations: 47.42 kB / 1.076 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of SimCode: time 7.32e-07/0.923, allocations: 0 / 1.076 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of Templates: time 0.01853/0.9416, allocations: 10.28 MB / 1.086 GB, free: 12.58 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches