Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conRadSup.TRoo|conRadSup.TSup|conRadSup.yVal",fileNamePrefix="Buildings_10_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_10_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.001588/0.001588, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001914/0.001914, allocations: 195.1 kB / 16.26 MB, free: 6.621 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.345/1.345, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.503/2.503, allocations: 437 MB / 0.71 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 59.91 kB / 0.8687 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5367/0.538, allocations: 151.6 MB / 1.017 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003166/0.5412, allocations: 2.247 MB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009548/0.5422, allocations: 0.5024 MB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001561/0.5424, allocations: 4 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001784/0.5425, allocations: 35.66 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.5427, allocations: 31.78 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.543, allocations: 119.9 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003345/0.5433, allocations: 376.2 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000263/0.5436, allocations: 177.1 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.5438, allocations: 127.5 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.5439, allocations: 139.3 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.132e-05/0.544, allocations: 40 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.127e-05/0.544, allocations: 44 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.183e-05/0.5441, allocations: 83.75 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.5442, allocations: 151.2 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000364/0.5446, allocations: 456.5 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.5446, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.407e-06/0.5446, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.5446, allocations: 3.938 kB / 1.021 GB, free: 14.19 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.0008908/0.5455, allocations: 0.608 MB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.5455, allocations: 12.03 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.745e-05/0.5456, allocations: 36.47 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.546, allocations: 319.3 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.546, allocations: 24.92 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.363e-05/0.5461, allocations: 20.38 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005163/0.5466, allocations: 288.2 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.5466, allocations: 3.938 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.379e-05/0.5467, allocations: 12 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.5467, allocations: 7.984 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004761/0.5472, allocations: 202.1 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.5485, allocations: 0.9781 MB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000472/0.549, allocations: 279.9 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/0.5492, allocations: 114.1 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.5492, allocations: 4 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.5493, allocations: 30.56 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.5493, allocations: 0 / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0006851/0.55, allocations: 267.1 kB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.55, allocations: 55.41 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002538/0.5503, allocations: 270.6 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.5503, allocations: 29.7 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.5504, allocations: 180 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.274e-05/0.5505, allocations: 59.19 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.082e-05/0.5505, allocations: 41.7 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.5506, allocations: 338.8 kB / 1.025 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.5509, allocations: 80.73 kB / 1.025 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/0.5511, allocations: 126.9 kB / 1.025 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004017/0.5515, allocations: 185.7 kB / 1.026 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.5515, allocations: 4.031 kB / 1.026 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005476/0.5521, allocations: 254.9 kB / 1.026 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.5521, allocations: 7.938 kB / 1.026 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.5521, allocations: 0 / 1.026 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.5521, allocations: 4 kB / 1.026 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003145/0.5525, allocations: 44.03 kB / 1.026 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.5525, allocations: 8 kB / 1.026 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.5527, allocations: 31.67 kB / 1.026 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.5527, allocations: 8 kB / 1.026 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003454/0.5531, allocations: 176.1 kB / 1.026 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002589/0.5534, allocations: 117.1 kB / 1.026 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005038/0.5539, allocations: 177.7 kB / 1.026 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.773e-06/0.5539, allocations: 4.031 kB / 1.026 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0006623/0.5546, allocations: 243 kB / 1.027 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.5546, allocations: 4 kB / 1.027 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.5546, allocations: 4 kB / 1.027 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.676e-06/0.5546, allocations: 0 / 1.027 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.5549, allocations: 43.92 kB / 1.027 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.5549, allocations: 12.11 kB / 1.027 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.5551, allocations: 19.84 kB / 1.027 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.5551, allocations: 4 kB / 1.027 GB, free: 8.207 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001363/0.5552, allocations: 200.7 kB / 1.027 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.652e-05/0.5553, allocations: 23.72 kB / 1.027 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006281/0.5559, allocations: 217.1 kB / 1.027 GB, free: 7.766 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.556, allocations: 4 kB / 1.027 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.556, allocations: 0 / 1.027 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.556, allocations: 3.984 kB / 1.027 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008858/0.5569, allocations: 0.6207 MB / 1.028 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.5569, allocations: 4 kB / 1.028 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.5571, allocations: 35.97 kB / 1.028 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.5571, allocations: 0 / 1.028 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.5571, allocations: 4 kB / 1.028 GB, free: 7.039 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.5571, allocations: 4 kB / 1.028 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5571, allocations: 3.938 kB / 1.028 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006968/0.5578, allocations: 393.2 kB / 1.028 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.556e-05/0.5579, allocations: 112.7 kB / 1.028 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.558, allocations: 8 kB / 1.028 GB, free: 6.496 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.5581, allocations: 11.98 kB / 1.028 GB, free: 6.484 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/0.5582, allocations: 11.98 kB / 1.028 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.5582, allocations: 7.938 kB / 1.028 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001826/0.5584, allocations: 202 kB / 1.028 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5584, allocations: 0 / 1.028 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003892/0.5588, allocations: 79.69 kB / 1.029 GB, free: 6.191 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 (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.0001167/0.5589, allocations: 115.1 kB / 1.029 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007057/0.5596, allocations: 287.8 kB / 1.029 GB, free: 5.785 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5596, allocations: 0 / 1.029 GB, free: 5.785 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002182/0.5599, allocations: 83.89 kB / 1.029 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004892/0.5604, allocations: 40.53 kB / 1.029 GB, free: 5.664 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009285/0.5613, allocations: 0.5554 MB / 1.03 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.5616, allocations: 0.7597 MB / 1.03 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001312/0.5618, allocations: 29.92 kB / 1.03 GB, free: 4.266 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.596e-05/0.5618, allocations: 23.44 kB / 1.03 GB, free: 4.242 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.5618, allocations: 0 / 1.03 GB, free: 4.242 MB / 0.7794 GB Notification: Performance of Templates: time 0.00514/0.567, allocations: 2.216 MB / 1.033 GB, free: 2.055 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & ./Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches