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.005015/0.005015, allocations: 105.4 kB / 15.74 MB, free: 6.488 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.001104/0.001104, allocations: 194.9 kB / 16.68 MB, free: 6.375 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.514/1.514, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.782/2.782, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 64.12 kB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3482, allocations: 157.4 MB / 1.208 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008581/0.3569, allocations: 6.744 MB / 1.214 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005249/0.3622, allocations: 3.039 MB / 1.217 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006557/0.3628, allocations: 27.81 kB / 1.217 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002538/0.3654, allocations: 0.9436 MB / 1.218 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001357/0.3668, allocations: 0.5011 MB / 1.219 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.3678, allocations: 421.3 kB / 1.219 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00156/0.3694, allocations: 1.232 MB / 1.22 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009964/0.3704, allocations: 0.6583 MB / 1.221 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007819/0.3712, allocations: 482.2 kB / 1.221 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008063/0.372, allocations: 0.5176 MB / 1.222 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000156/0.3722, allocations: 68 kB / 1.222 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007438/0.373, allocations: 375.3 kB / 1.222 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003441/0.3733, allocations: 315.1 kB / 1.223 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005172/0.3738, allocations: 445.8 kB / 1.223 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.3752, allocations: 1.215 MB / 1.224 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3752, allocations: 0 / 1.224 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3752, allocations: 0 / 1.224 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.193e-05/0.3753, allocations: 4 kB / 1.224 GB, free: 8.648 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.002081/0.3773, allocations: 1.157 MB / 1.225 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.3774, allocations: 20.61 kB / 1.225 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001537/0.3789, allocations: 231.6 kB / 1.226 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009721/0.3799, allocations: 0.5959 MB / 1.226 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.745e-05/0.38, allocations: 49.67 kB / 1.226 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.3801, allocations: 64.36 kB / 1.226 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/0.3817, allocations: 1.089 MB / 1.227 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.512e-05/0.3817, allocations: 3.938 kB / 1.227 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-05/0.3818, allocations: 31.98 kB / 1.227 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001521/0.3819, allocations: 85.25 kB / 1.228 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.3832, allocations: 0.7465 MB / 1.228 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005562/0.3887, allocations: 5.882 MB / 1.234 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.3898, allocations: 0.5571 MB / 1.235 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004693/0.3903, allocations: 326 kB / 1.235 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.128e-05/0.3903, allocations: 4.438 kB / 1.235 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.3904, allocations: 42.98 kB / 1.235 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=47): time 2.715e-06/0.3904, allocations: 0 / 1.235 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48): time 0.004178/0.3946, allocations: 1.986 MB / 1.237 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.3946, allocations: 55.84 kB / 1.237 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006903/0.3953, allocations: 0.5547 MB / 1.237 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.089e-05/0.3954, allocations: 37.7 kB / 1.237 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003176/0.3957, allocations: 418.9 kB / 1.238 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000154/0.3959, allocations: 165.6 kB / 1.238 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002636/0.3961, allocations: 130.5 kB / 1.238 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002157/0.3964, allocations: 382.7 kB / 1.238 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004504/0.3968, allocations: 269.8 kB / 1.239 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005676/0.3974, allocations: 493 kB / 1.239 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.3985, allocations: 0.8132 MB / 1.24 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.3985, allocations: 4 kB / 1.24 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001939/0.4004, allocations: 1.083 MB / 1.241 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.4005, allocations: 13.34 kB / 1.241 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/0.4005, allocations: 11.98 kB / 1.241 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008612/0.4014, allocations: 271.9 kB / 1.241 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004558/0.4018, allocations: 123.8 kB / 1.241 GB, free: 6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.636/1.038, allocations: 7.124 MB / 1.248 GB, free: 36.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006456/1.039, allocations: 39.22 kB / 1.248 GB, free: 36.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.668e-05/1.039, allocations: 32.66 kB / 1.249 GB, free: 36.77 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.0003776/1.039, allocations: 249 kB / 1.249 GB, free: 36.66 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/1.039, allocations: 74.84 kB / 1.249 GB, free: 36.66 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001644/1.041, allocations: 0.8923 MB / 1.25 GB, free: 36.58 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/1.041, allocations: 5.094 kB / 1.25 GB, free: 36.58 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/1.041, allocations: 4.672 kB / 1.25 GB, free: 36.58 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/1.041, allocations: 3.219 kB / 1.25 GB, free: 36.58 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0025/1.043, allocations: 1.729 MB / 1.251 GB, free: 36.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/1.043, allocations: 1.344 kB / 1.251 GB, free: 36.19 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/1.044, allocations: 60.91 kB / 1.251 GB, free: 36.19 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006581/1.044, allocations: 270.6 kB / 1.252 GB, free: 36.16 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.268e-05/1.044, allocations: 9.688 kB / 1.252 GB, free: 36.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004826/1.049, allocations: 7.132 MB / 1.259 GB, free: 30.78 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.049, allocations: 3.172 kB / 1.259 GB, free: 30.78 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/1.051, allocations: 0.9839 MB / 1.26 GB, free: 30.54 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002296/1.051, allocations: 191.6 kB / 1.26 GB, free: 30.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.09e-05/1.051, allocations: 18.75 kB / 1.26 GB, free: 30.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003252/1.051, allocations: 27.75 kB / 1.26 GB, free: 30.41 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/1.051, allocations: 41.69 kB / 1.26 GB, free: 30.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/1.051, allocations: 17.12 kB / 1.26 GB, free: 30.41 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004591/1.052, allocations: 383.1 kB / 1.26 GB, free: 30.32 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/1.052, allocations: 0 / 1.26 GB, free: 30.32 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007702/1.053, allocations: 226.4 kB / 1.261 GB, free: 30.32 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.000145/1.053, allocations: 116.3 kB / 1.261 GB, free: 30.23 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001866/1.055, allocations: 1.281 MB / 1.262 GB, free: 29.73 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/1.055, allocations: 0.8125 kB / 1.262 GB, free: 29.73 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001124/1.056, allocations: 0.8914 MB / 1.263 GB, free: 29.26 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000996/1.057, allocations: 220.7 kB / 1.263 GB, free: 29.25 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002312/1.059, allocations: 1.311 MB / 1.264 GB, free: 28.71 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006472/1.06, allocations: 1.012 MB / 1.265 GB, free: 28 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003882/1.06, allocations: 123.5 kB / 1.265 GB, free: 27.97 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/1.06, allocations: 42.02 kB / 1.265 GB, free: 27.96 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/1.06, allocations: 0.5625 kB / 1.265 GB, free: 27.96 MB / 0.9981 GB Notification: Performance of Templates: time 0.03044/1.091, allocations: 11.31 MB / 1.276 GB, free: 27.37 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