Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conRadSup.TRoo|conRadSup.TSup|conRadSup.yVal",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conRadSup.TRoo|conRadSup.TSup|conRadSup.yVal",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.355/1.355, allocations: 251.9 MB / 266.9 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001247/0.001247, allocations: 183.2 kB / 326.5 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.811/1.811, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008811/0.0008812, allocations: 94.11 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.0003538, allocations: 13.44 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2142, allocations: 106.3 MB / 0.9001 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1715/0.3857, allocations: 135.5 MB / 1.032 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/0.386, allocations: 95.92 kB / 1.033 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01281/0.3988, allocations: 5.509 MB / 1.038 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3989, allocations: 0 / 1.038 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.081e-05/0.3989, allocations: 12 kB / 1.038 GB, free: 2.547 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.000833/0.3997, allocations: 0.5922 MB / 1.039 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.3998, allocations: 8.031 kB / 1.039 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.782e-05/0.3998, allocations: 35.56 kB / 1.039 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003755/0.4002, allocations: 310.3 kB / 1.039 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.4003, allocations: 20.56 kB / 1.039 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.499e-05/0.4003, allocations: 24 kB / 1.039 GB, free: 1.473 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005483/0.4009, allocations: 317.3 kB / 1.039 GB, free: 1.145 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.4009, allocations: 0 / 1.039 GB, free: 1.145 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.807e-05/0.4009, allocations: 8 kB / 1.039 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.4009, allocations: 11.94 kB / 1.039 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005896/0.4015, allocations: 258.1 kB / 1.039 GB, free: 0.875 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.403, allocations: 1.131 MB / 1.041 GB, free: 15.68 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006276/0.4036, allocations: 278.8 kB / 1.041 GB, free: 15.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.4036, allocations: 7.984 kB / 1.041 GB, free: 15.39 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.4037, allocations: 34.56 kB / 1.041 GB, free: 15.35 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 1.232e-06/0.4037, allocations: 0 / 1.041 GB, free: 15.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.0008153/0.4045, allocations: 360.4 kB / 1.041 GB, free: 14.99 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/0.4046, allocations: 85.11 kB / 1.041 GB, free: 14.89 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.4049, allocations: 258.5 kB / 1.042 GB, free: 14.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.4049, allocations: 33.64 kB / 1.042 GB, free: 14.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.405, allocations: 176.2 kB / 1.042 GB, free: 14.42 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.072e-05/0.4051, allocations: 63.09 kB / 1.042 GB, free: 14.36 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.297e-05/0.4051, allocations: 8 kB / 1.042 GB, free: 14.35 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.4053, allocations: 338.8 kB / 1.042 GB, free: 14.01 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/0.4055, allocations: 100.3 kB / 1.042 GB, free: 13.91 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.4058, allocations: 132.3 kB / 1.042 GB, free: 13.77 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002342/0.406, allocations: 105.6 kB / 1.042 GB, free: 13.66 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.406, allocations: 4.031 kB / 1.042 GB, free: 13.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005541/0.4066, allocations: 294 kB / 1.043 GB, free: 13.37 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.884e-05/0.4067, allocations: 178 kB / 1.043 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.4067, allocations: 0 / 1.043 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.4067, allocations: 0 / 1.043 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/0.407, allocations: 63.89 kB / 1.043 GB, free: 13.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.407, allocations: 0 / 1.043 GB, free: 13.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.4072, allocations: 43.81 kB / 1.043 GB, free: 13.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.4072, allocations: 4 kB / 1.043 GB, free: 13.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.223e-06/0.4072, allocations: 8 kB / 1.043 GB, free: 13.07 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000404/0.4076, allocations: 195.9 kB / 1.043 GB, free: 12.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.4076, allocations: 0 / 1.043 GB, free: 12.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.568e-06/0.4077, allocations: 7.938 kB / 1.043 GB, free: 12.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/0.4079, allocations: 47.94 kB / 1.043 GB, free: 12.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.4079, allocations: 7.938 kB / 1.043 GB, free: 12.81 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.408, allocations: 31.83 kB / 1.043 GB, free: 12.78 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.408, allocations: 4 kB / 1.043 GB, free: 12.78 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (conRadSup.conPIDRad.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001896/0.4082, allocations: 233 kB / 1.044 GB, free: 12.54 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.469e-05/0.4083, allocations: 31.61 kB / 1.044 GB, free: 12.51 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006129/0.4089, allocations: 283.8 kB / 1.044 GB, free: 12.22 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.4089, allocations: 0 / 1.044 GB, free: 12.22 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.4089, allocations: 0 / 1.044 GB, free: 12.22 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.4089, allocations: 4 kB / 1.044 GB, free: 12.22 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009703/0.4099, allocations: 0.7078 MB / 1.045 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.4099, allocations: 3.953 kB / 1.045 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/0.4102, allocations: 51.94 kB / 1.045 GB, free: 11.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.4102, allocations: 7.984 kB / 1.045 GB, free: 11.39 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.4102, allocations: 7.984 kB / 1.045 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.4102, allocations: 4 kB / 1.045 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4102, allocations: 0 / 1.045 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008635/0.4111, allocations: 0.5054 MB / 1.045 GB, free: 10.85 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.657e-05/0.4112, allocations: 108.8 kB / 1.045 GB, free: 10.72 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.541e-05/0.4112, allocations: 8 kB / 1.045 GB, free: 10.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.4114, allocations: 32.03 kB / 1.045 GB, free: 10.68 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.105e-05/0.4115, allocations: 15.92 kB / 1.045 GB, free: 10.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.4115, allocations: 8 kB / 1.045 GB, free: 10.66 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002049/0.4117, allocations: 209.9 kB / 1.045 GB, free: 10.46 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4117, allocations: 0 / 1.045 GB, free: 10.46 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003735/0.4121, allocations: 87.69 kB / 1.046 GB, free: 10.37 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (conRadSup.conPIDRad.I.y) * 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 (20): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001609/0.4123, allocations: 111.2 kB / 1.046 GB, free: 10.25 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007537/0.413, allocations: 341.2 kB / 1.046 GB, free: 9.926 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4131, allocations: 0 / 1.046 GB, free: 9.926 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002545/0.4133, allocations: 123.9 kB / 1.046 GB, free: 9.805 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.4137, allocations: 46.66 kB / 1.046 GB, free: 9.762 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009652/0.4147, allocations: 0.6207 MB / 1.047 GB, free: 9.105 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.4151, allocations: 0.7755 MB / 1.047 GB, free: 8.305 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001377/0.4152, allocations: 26.28 kB / 1.048 GB, free: 8.277 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.794e-05/0.4153, allocations: 23.38 kB / 1.048 GB, free: 8.254 MB / 0.698 GB Notification: Performance of SimCode: time 3.21e-07/0.4153, allocations: 8 kB / 1.048 GB, free: 8.246 MB / 0.698 GB Notification: Performance of Templates: time 0.005591/0.4209, allocations: 2.503 MB / 1.05 GB, free: 5.777 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.csv","../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches