Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conRadSup.TRoo|conRadSup.TSup|conRadSup.yVal",fileNamePrefix="Buildings_9_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_9_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.001241/0.001241, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001318/0.001318, allocations: 187 kB / 17.34 MB, free: 5.719 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.392/2.392, allocations: 390.2 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0026/0.0026, allocations: 59.91 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9968/0.9994, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003256/1.003, allocations: 2.209 MB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001047/1.004, allocations: 0.5189 MB / 1.091 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001956/1.004, allocations: 12.5 kB / 1.091 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002055/1.004, allocations: 43.95 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001235/1.004, allocations: 48.73 kB / 1.091 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003795/1.005, allocations: 141 kB / 1.092 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004196/1.005, allocations: 365.8 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003388/1.005, allocations: 182.5 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001931/1.006, allocations: 129 kB / 1.092 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/1.006, allocations: 137.8 kB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.03e-05/1.006, allocations: 40.56 kB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.106e-05/1.006, allocations: 40.97 kB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.558e-05/1.006, allocations: 83.67 kB / 1.092 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001185/1.006, allocations: 147.7 kB / 1.093 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006112/1.007, allocations: 473.3 kB / 1.093 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/1.007, allocations: 1.156 kB / 1.093 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.202e-06/1.007, allocations: 7.938 kB / 1.093 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.646e-06/1.007, allocations: 0 / 1.093 GB, free: 2.562 MB / 0.8575 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.0009395/1.008, allocations: 0.6022 MB / 1.094 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/1.008, allocations: 9.281 kB / 1.094 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.133e-05/1.008, allocations: 38.58 kB / 1.094 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005062/1.008, allocations: 317 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/1.008, allocations: 20.06 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.244e-05/1.009, allocations: 28.56 kB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006125/1.009, allocations: 282.2 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/1.009, allocations: 8.781 kB / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.84e-05/1.009, allocations: 10.72 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/1.009, allocations: 6.531 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005702/1.01, allocations: 205.1 kB / 1.095 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/1.011, allocations: 0.9806 MB / 1.095 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005004/1.012, allocations: 283.4 kB / 1.096 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00025/1.012, allocations: 101.7 kB / 1.096 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.034e-05/1.012, allocations: 3.078 kB / 1.096 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/1.012, allocations: 32.16 kB / 1.096 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/1.012, allocations: 0 / 1.096 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0007618/1.013, allocations: 264.6 kB / 1.096 GB, free: 460 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/1.013, allocations: 54.17 kB / 1.096 GB, free: 396 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003082/1.013, allocations: 267.5 kB / 1.096 GB, free: 240 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/1.013, allocations: 30.95 kB / 1.096 GB, free: 204 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.735e-05/1.013, allocations: 179.9 kB / 1.097 GB, free: 48 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/1.013, allocations: 54.88 kB / 1.097 GB, free: 4 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/1.014, allocations: 40.61 kB / 1.097 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001274/1.014, allocations: 344.1 kB / 1.097 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/1.014, allocations: 78.5 kB / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/1.014, allocations: 118 kB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000445/1.015, allocations: 191.4 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.015, allocations: 4.641 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005847/1.015, allocations: 251 kB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/1.015, allocations: 4.781 kB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/1.015, allocations: 2.047 kB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/1.015, allocations: 2.281 kB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/1.016, allocations: 49.95 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/1.016, allocations: 2.188 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/1.016, allocations: 25.28 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/1.016, allocations: 14.81 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002842/1.016, allocations: 181.9 kB / 1.098 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002162/1.016, allocations: 116 kB / 1.098 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003877/1.017, allocations: 179.3 kB / 1.098 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/1.017, allocations: 4.031 kB / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004957/1.017, allocations: 241.8 kB / 1.098 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/1.017, allocations: 5.219 kB / 1.098 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-06/1.017, allocations: 2.281 kB / 1.098 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.599e-06/1.017, allocations: 1.844 kB / 1.098 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/1.017, allocations: 43.98 kB / 1.099 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/1.017, allocations: 6.594 kB / 1.099 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/1.018, allocations: 22.91 kB / 1.099 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/1.018, allocations: 6.578 kB / 1.099 GB, free: 14.85 MB / 0.8731 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000117/1.018, allocations: 196.5 kB / 1.099 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.168e-05/1.018, allocations: 22.81 kB / 1.099 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005824/1.018, allocations: 220 kB / 1.099 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/1.018, allocations: 2.25 kB / 1.099 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/1.018, allocations: 2.125 kB / 1.099 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/1.018, allocations: 0.5625 kB / 1.099 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/1.019, allocations: 0.6251 MB / 1.1 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/1.019, allocations: 0 / 1.1 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/1.02, allocations: 38.44 kB / 1.1 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/1.02, allocations: 1 kB / 1.1 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/1.02, allocations: 6.75 kB / 1.1 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/1.02, allocations: 0.6562 kB / 1.1 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.02, allocations: 9.016 kB / 1.1 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008065/1.021, allocations: 391.6 kB / 1.1 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.161e-05/1.021, allocations: 106 kB / 1.1 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.744e-05/1.021, allocations: 5.969 kB / 1.1 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/1.021, allocations: 11.61 kB / 1.1 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.037e-05/1.021, allocations: 17.44 kB / 1.1 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/1.021, allocations: 9 kB / 1.1 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000245/1.021, allocations: 198.9 kB / 1.1 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.11e-07/1.021, allocations: 0 / 1.1 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004411/1.022, allocations: 83.09 kB / 1.1 GB, free: 13.58 MB / 0.8731 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001459/1.022, allocations: 106.3 kB / 1.101 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008162/1.023, allocations: 281.4 kB / 1.101 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.023, allocations: 5 kB / 1.101 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002275/1.023, allocations: 88.67 kB / 1.101 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/1.023, allocations: 45.84 kB / 1.101 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/1.024, allocations: 498.9 kB / 1.101 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/1.025, allocations: 0.7583 MB / 1.102 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.888e-05/1.025, allocations: 27.25 kB / 1.102 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of SimCode: time 5.11e-07/1.025, allocations: 1.125 kB / 1.102 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of Templates: time 0.007487/1.032, allocations: 3.14 MB / 1.105 GB, free: 11.96 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches