Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conRadSup.TRoo|conRadSup.TSup|conRadSup.yVal",fileNamePrefix="Buildings_latest_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_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001033, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001199/0.001198, allocations: 177.3 kB / 15.94 MB, free: 228 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.508/1.508, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.775/2.775, allocations: 436.5 MB / 0.7104 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003614, allocations: 8 kB / 0.8708 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7837/0.784, allocations: 153.7 MB / 1.021 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.002822/0.7869, allocations: 1.808 MB / 1.023 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.7882, allocations: 494.7 kB / 1.023 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000288/0.7885, allocations: 7.938 kB / 1.023 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.026e-05/0.7886, allocations: 19.78 kB / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002514/0.7888, allocations: 51.8 kB / 1.023 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003655/0.7892, allocations: 83.84 kB / 1.023 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004369/0.7896, allocations: 200.6 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002757/0.7899, allocations: 128.2 kB / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000181/0.7901, allocations: 83.56 kB / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.7903, allocations: 91.41 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.572e-05/0.7903, allocations: 12 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.795e-05/0.7904, allocations: 8 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.201e-05/0.7904, allocations: 43.72 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.719e-05/0.7905, allocations: 65.58 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003508/0.7909, allocations: 369 kB / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.7909, allocations: 0 / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.894e-06/0.7909, allocations: 0 / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.256e-05/0.7909, allocations: 0 / 1.024 GB, free: 13.64 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.00107/0.792, allocations: 0.569 MB / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.792, allocations: 15.98 kB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.58e-05/0.7921, allocations: 39.53 kB / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004814/0.7926, allocations: 302.1 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.7927, allocations: 24.56 kB / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.777e-05/0.7927, allocations: 27.95 kB / 1.025 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000603/0.7933, allocations: 287.6 kB / 1.025 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.7933, allocations: 0 / 1.025 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.04e-05/0.7934, allocations: 8 kB / 1.025 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.7934, allocations: 8 kB / 1.025 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005584/0.7939, allocations: 222.1 kB / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001564/0.7955, allocations: 0.9859 MB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005831/0.7961, allocations: 287.9 kB / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.7962, allocations: 4 kB / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.7962, allocations: 34.56 kB / 1.027 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.313e-06/0.7962, allocations: 0 / 1.027 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0007998/0.797, allocations: 281.5 kB / 1.027 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/0.7971, allocations: 59.39 kB / 1.027 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003939/0.7975, allocations: 270.7 kB / 1.027 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.7975, allocations: 25.7 kB / 1.027 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.7977, allocations: 184 kB / 1.028 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.013e-05/0.7978, allocations: 51.2 kB / 1.028 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.498e-05/0.7978, allocations: 8 kB / 1.028 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002005/0.798, allocations: 330.8 kB / 1.028 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000233/0.7983, allocations: 87.81 kB / 1.028 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/0.7985, allocations: 126.7 kB / 1.028 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.7988, allocations: 93.23 kB / 1.028 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.7988, allocations: 4.031 kB / 1.028 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005605/0.7993, allocations: 261.2 kB / 1.029 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002233/0.7996, allocations: 454.7 kB / 1.029 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.7996, allocations: 0 / 1.029 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.7996, allocations: 4 kB / 1.029 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.7999, allocations: 51.84 kB / 1.029 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.7999, allocations: 3.984 kB / 1.029 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.8001, allocations: 31.75 kB / 1.029 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.8001, allocations: 11.98 kB / 1.029 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.8001, allocations: 4 kB / 1.029 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004434/0.8006, allocations: 207.8 kB / 1.029 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.8006, allocations: 0 / 1.029 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.118e-06/0.8006, allocations: 0 / 1.029 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/0.8008, allocations: 47.91 kB / 1.029 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.8008, allocations: 4 kB / 1.029 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.8009, allocations: 27.83 kB / 1.029 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.801, allocations: 4 kB / 1.029 GB, free: 7.973 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (conRadSup.conPIDRad.con1.y,conRadSup.conPIDRad.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0002002/0.8012, allocations: 233 kB / 1.03 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.229e-05/0.8012, allocations: 23.72 kB / 1.03 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005624/0.8018, allocations: 231.7 kB / 1.03 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.8018, allocations: 4 kB / 1.03 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.8018, allocations: 4.062 kB / 1.03 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.8018, allocations: 0 / 1.03 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.8029, allocations: 0.6442 MB / 1.031 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.8029, allocations: 0 / 1.031 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/0.8031, allocations: 35.98 kB / 1.031 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.8031, allocations: 0 / 1.031 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.8031, allocations: 7.984 kB / 1.031 GB, free: 6.734 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.8031, allocations: 4 kB / 1.031 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.8031, allocations: 0 / 1.031 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007788/0.8039, allocations: 417.6 kB / 1.031 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.085e-05/0.804, allocations: 100.9 kB / 1.031 GB, free: 6.191 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/0.804, allocations: 4 kB / 1.031 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.8042, allocations: 24.03 kB / 1.031 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.507e-05/0.8043, allocations: 15.98 kB / 1.031 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.8043, allocations: 7.938 kB / 1.031 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002052/0.8045, allocations: 194 kB / 1.031 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8045, allocations: 0 / 1.031 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004065/0.8049, allocations: 83.62 kB / 1.031 GB, free: 5.871 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (17): * Single equations (assignments): 17 * 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.0001533/0.8051, allocations: 111.2 kB / 1.031 GB, free: 5.75 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007513/0.8059, allocations: 301.8 kB / 1.032 GB, free: 5.457 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.8059, allocations: 0 / 1.032 GB, free: 5.457 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002142/0.8061, allocations: 91.89 kB / 1.032 GB, free: 5.367 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.8064, allocations: 44.66 kB / 1.032 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009774/0.8074, allocations: 0.5365 MB / 1.032 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.8078, allocations: 0.7716 MB / 1.033 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001378/0.808, allocations: 21.94 kB / 1.033 GB, free: 3.941 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.633e-05/0.8081, allocations: 27.44 kB / 1.033 GB, free: 3.914 MB / 0.7794 GB Notification: Performance of SimCode: time 3.4e-07/0.8081, allocations: 0 / 1.033 GB, free: 3.914 MB / 0.7794 GB Notification: Performance of Templates: time 0.005848/0.8139, allocations: 2.027 MB / 1.035 GB, free: 1.91 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.csv","../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches