Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 108.3 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 190.6 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 225.6 MB / 249.3 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.453/2.453, allocations: 476.7 MB / 0.7628 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_11_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_11_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 67.89 kB / 1.107 GB, free: 5.211 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.757/0.7588, allocations: 168.7 MB / 1.271 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002311/0.7611, allocations: 1.858 MB / 1.273 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002249/0.7613, allocations: 119.4 kB / 1.273 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.337e-05/0.7614, allocations: 1.781 kB / 1.273 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 9.563e-05/0.7615, allocations: 12.52 kB / 1.273 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.717e-05/0.7615, allocations: 56.78 kB / 1.273 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001252/0.7617, allocations: 33.14 kB / 1.273 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.7618, allocations: 168.8 kB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.337e-05/0.7619, allocations: 20.25 kB / 1.274 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.207e-05/0.762, allocations: 52.86 kB / 1.274 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.771e-05/0.7621, allocations: 71.95 kB / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.558e-05/0.7621, allocations: 9.562 kB / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.535e-05/0.7622, allocations: 14.25 kB / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.41e-05/0.7622, allocations: 23.61 kB / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.537e-05/0.7622, allocations: 69.75 kB / 1.274 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.7624, allocations: 129.5 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.7624, allocations: 0.8438 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7624, allocations: 0 / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.7624, allocations: 0 / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005928/0.763, allocations: 452.9 kB / 1.274 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.763, allocations: 13.75 kB / 1.274 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.853e-05/0.763, allocations: 38.27 kB / 1.274 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.122e-05/0.7631, allocations: 15.78 kB / 1.274 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.7632, allocations: 211.5 kB / 1.275 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.7632, allocations: 3.688 kB / 1.275 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.7633, allocations: 9 kB / 1.275 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/0.7635, allocations: 117.1 kB / 1.275 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.7635, allocations: 7.938 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.7635, allocations: 1.031 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.7635, allocations: 1.125 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002722/0.7638, allocations: 97.09 kB / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005296/0.7643, allocations: 480.9 kB / 1.275 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003162/0.7646, allocations: 119.2 kB / 1.275 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.7648, allocations: 60.97 kB / 1.275 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.7648, allocations: 2 kB / 1.275 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.064e-05/0.7648, allocations: 37.23 kB / 1.275 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.7648, allocations: 0 / 1.275 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0005172/0.7653, allocations: 181.9 kB / 1.276 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.7654, allocations: 83.53 kB / 1.276 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.7655, allocations: 168.6 kB / 1.276 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.7655, allocations: 30.89 kB / 1.276 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.601e-05/0.7655, allocations: 104.9 kB / 1.276 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.7655, allocations: 33.11 kB / 1.276 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.7656, allocations: 29.12 kB / 1.276 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.58e-05/0.7656, allocations: 326.6 kB / 1.276 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.7658, allocations: 47.72 kB / 1.276 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.7659, allocations: 56.12 kB / 1.277 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/0.7661, allocations: 104.9 kB / 1.277 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.7661, allocations: 0.7188 kB / 1.277 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003138/0.7664, allocations: 153.9 kB / 1.277 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.7665, allocations: 5.219 kB / 1.277 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.7665, allocations: 1.5 kB / 1.277 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.7665, allocations: 1.031 kB / 1.277 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.7666, allocations: 22.08 kB / 1.277 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.7666, allocations: 2.781 kB / 1.277 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.7667, allocations: 20.38 kB / 1.277 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.7667, allocations: 6.531 kB / 1.277 GB, free: 3.539 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 5.389e-05/0.7668, allocations: 119.5 kB / 1.277 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.841e-05/0.7668, allocations: 14.81 kB / 1.277 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003704/0.7672, allocations: 156.1 kB / 1.277 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.7672, allocations: 3.688 kB / 1.277 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.7672, allocations: 5.156 kB / 1.277 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.7672, allocations: 7.938 kB / 1.277 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.7674, allocations: 219.2 kB / 1.277 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.7674, allocations: 1.156 kB / 1.277 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.7676, allocations: 25.98 kB / 1.277 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.7676, allocations: 0.9688 kB / 1.277 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.7676, allocations: 1.812 kB / 1.277 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.7676, allocations: 0.875 kB / 1.277 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.7676, allocations: 1.219 kB / 1.277 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003238/0.7679, allocations: 317.9 kB / 1.278 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.626e-05/0.7679, allocations: 90.09 kB / 1.278 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.768, allocations: 5.5 kB / 1.278 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.7681, allocations: 8.75 kB / 1.278 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.7682, allocations: 9.625 kB / 1.278 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.7682, allocations: 7.797 kB / 1.278 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.785e-05/0.7682, allocations: 125.9 kB / 1.278 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.7682, allocations: 1 kB / 1.278 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000268/0.7685, allocations: 32.17 kB / 1.278 GB, free: 2.637 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (9): * Single equations (assignments): 9 * 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.000434/0.7689, allocations: 0.8467 MB / 1.279 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003213/0.7693, allocations: 100 kB / 1.279 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.7693, allocations: 0.5938 kB / 1.279 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.7694, allocations: 51.56 kB / 1.279 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.7698, allocations: 55.28 kB / 1.279 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.7717, allocations: 1.831 MB / 1.281 GB, free: 16.31 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.772, allocations: 0.7059 MB / 1.281 GB, free: 15.61 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.842e-05/0.7721, allocations: 17.86 kB / 1.281 GB, free: 15.6 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.172e-05/0.7722, allocations: 31.67 kB / 1.281 GB, free: 15.58 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/0.7722, allocations: 0 / 1.281 GB, free: 15.58 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02556/0.7977, allocations: 3.632 MB / 1.285 GB, free: 15.08 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.262/8.06, allocations: 13.66 kB / 1.285 GB, free: 15.07 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable heaCur.TOut in file Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv. Warning: Get data of variable heaCur.TOut from file Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv failed! Error: Could not read variable heaCur1.TRoo_in in file Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv. Warning: Get data of variable heaCur1.TRoo_in from file Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv failed! Error: Could not read variable heaCur1.TSup in file Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv. Warning: Get data of variable heaCur1.TSup from file Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.357530504996248]