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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.324/2.324, allocations: 387.4 MB / 394.9 MB, free: 13.43 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 184.2 kB / 487.4 MB, free: 5.059 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 221.5 MB / 0.7824 GB, free: 0.9492 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 103 kB / 0.9219 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.631e-05/1.635e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3068, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.065/1.372, allocations: 151.1 MB / 1.353 GB, free: 18.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/1.373, allocations: 93.64 kB / 1.354 GB, free: 18.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01192/1.385, allocations: 4.449 MB / 1.358 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.044e-06/1.385, allocations: 0 / 1.358 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.941e-05/1.385, allocations: 7.844 kB / 1.358 GB, free: 33.94 MB / 0.8386 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.0009665/1.386, allocations: 0.5249 MB / 1.358 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.264e-05/1.386, allocations: 7.844 kB / 1.358 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/1.386, allocations: 42 kB / 1.358 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004616/1.386, allocations: 285.8 kB / 1.359 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/1.386, allocations: 7.812 kB / 1.359 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.173e-05/1.386, allocations: 19.41 kB / 1.359 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003568/1.387, allocations: 159 kB / 1.359 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004123/1.387, allocations: 226.3 kB / 1.359 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/1.387, allocations: 0 / 1.359 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.19e-05/1.387, allocations: 3.25 kB / 1.359 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/1.387, allocations: 7.719 kB / 1.359 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/1.389, allocations: 0.8761 MB / 1.36 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003764/1.389, allocations: 265.3 kB / 1.36 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/1.389, allocations: 95.72 kB / 1.36 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.545e-05/1.389, allocations: 3.875 kB / 1.36 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002099/1.39, allocations: 135.5 kB / 1.36 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=19): time 2.184e-06/1.39, allocations: 0 / 1.36 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19): time 0.0003549/1.39, allocations: 165.2 kB / 1.361 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/1.39, allocations: 110.7 kB / 1.361 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/1.39, allocations: 197.7 kB / 1.361 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/1.39, allocations: 29.58 kB / 1.361 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/1.39, allocations: 175.4 kB / 1.361 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.241e-05/1.39, allocations: 58.77 kB / 1.361 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.107e-05/1.39, allocations: 3.938 kB / 1.361 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001374/1.391, allocations: 338.8 kB / 1.362 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.583e-05/1.391, allocations: 50.06 kB / 1.362 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.841e-05/1.391, allocations: 91.98 kB / 1.362 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.666e-05/1.391, allocations: 64.97 kB / 1.362 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/1.391, allocations: 0 / 1.362 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002669/1.391, allocations: 181.7 kB / 1.362 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/1.391, allocations: 182.7 kB / 1.362 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/1.391, allocations: 7.859 kB / 1.362 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/1.391, allocations: 0 / 1.362 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/1.391, allocations: 52.62 kB / 1.362 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/1.391, allocations: 0 / 1.362 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/1.392, allocations: 43.77 kB / 1.362 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/1.392, allocations: 5.844 kB / 1.362 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/1.392, allocations: 5.719 kB / 1.362 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000199/1.392, allocations: 122.5 kB / 1.362 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.165e-06/1.392, allocations: 3.969 kB / 1.362 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.96e-06/1.392, allocations: 1.406 kB / 1.362 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/1.392, allocations: 49.55 kB / 1.362 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/1.392, allocations: 0 / 1.362 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/1.392, allocations: 27.38 kB / 1.362 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/1.392, allocations: 12.78 kB / 1.362 GB, free: 31.52 MB / 0.8386 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 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001018/1.392, allocations: 110 kB / 1.362 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/1.392, allocations: 23.42 kB / 1.363 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003103/1.393, allocations: 186.4 kB / 1.363 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/1.393, allocations: 2.016 kB / 1.363 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.393, allocations: 0 / 1.363 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/1.393, allocations: 0 / 1.363 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006823/1.394, allocations: 0.5822 MB / 1.363 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/1.394, allocations: 3.844 kB / 1.363 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002353/1.394, allocations: 50.44 kB / 1.363 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/1.394, allocations: 3.844 kB / 1.363 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/1.394, allocations: 8.812 kB / 1.363 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/1.394, allocations: 0 / 1.363 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.394, allocations: 0 / 1.363 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004364/1.394, allocations: 371.5 kB / 1.364 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.652e-05/1.394, allocations: 105.3 kB / 1.364 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.372e-05/1.394, allocations: 0 / 1.364 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/1.395, allocations: 25.77 kB / 1.364 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.278e-05/1.395, allocations: 16.44 kB / 1.364 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/1.395, allocations: 5.75 kB / 1.364 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001585/1.395, allocations: 172.3 kB / 1.364 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.91e-07/1.395, allocations: 3.938 kB / 1.364 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000387/1.395, allocations: 81.5 kB / 1.364 GB, free: 30.66 MB / 0.8386 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: 1 ($whenCondition1) * Number of discrete 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.0001642/1.395, allocations: 101.8 kB / 1.364 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003553/1.396, allocations: 221.8 kB / 1.364 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.396, allocations: 0 / 1.364 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/1.396, allocations: 73.98 kB / 1.364 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/1.396, allocations: 31.92 kB / 1.364 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007385/1.397, allocations: 330.6 kB / 1.365 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/1.397, allocations: 0.7635 MB / 1.366 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001982/1.398, allocations: 36.34 kB / 1.366 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.321e-05/1.398, allocations: 18.97 kB / 1.366 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of SimCode: time 3.4e-07/1.398, allocations: 0 / 1.366 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of Templates: time 0.005792/1.403, allocations: 2.249 MB / 1.368 GB, free: 29.52 MB / 0.8386 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","../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches