Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureResetExponent.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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureResetExponent,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureResetExponent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureResetExponent,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureResetExponent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007375/0.007375, allocations: 97.22 kB / 15.73 MB, free: 6.004 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.001927/0.001927, allocations: 195 kB / 16.67 MB, free: 5.934 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.723/2.723, allocations: 469.4 MB / 0.7422 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002404/0.002404, allocations: 63.91 kB / 1.064 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3233, allocations: 159.1 MB / 1.22 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureResetExponent): time 0.003006/0.3263, allocations: 2.041 MB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001561/0.3279, allocations: 1.158 MB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002332/0.3281, allocations: 8 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001429/0.3283, allocations: 55.27 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002863/0.3286, allocations: 83.2 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003301/0.3289, allocations: 163.8 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004988/0.3294, allocations: 0.5162 MB / 1.224 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004648/0.3299, allocations: 353.8 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002074/0.3301, allocations: 187.2 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.3303, allocations: 211 kB / 1.224 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.314e-05/0.3304, allocations: 60 kB / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.192e-05/0.3305, allocations: 56 kB / 1.224 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.674e-05/0.3306, allocations: 119.6 kB / 1.225 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001894/0.3308, allocations: 254.7 kB / 1.225 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005548/0.3313, allocations: 0.6651 MB / 1.225 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3313, allocations: 3.938 kB / 1.225 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3313, allocations: 0 / 1.225 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.489e-05/0.3314, allocations: 0 / 1.225 GB, free: 8.812 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001014/0.3324, allocations: 0.7328 MB / 1.226 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.3324, allocations: 16.02 kB / 1.226 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.749e-05/0.3325, allocations: 94.7 kB / 1.226 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.991e-05/0.3326, allocations: 60.5 kB / 1.226 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003465/0.333, allocations: 321.4 kB / 1.227 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.333, allocations: 45.69 kB / 1.227 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.507e-05/0.3331, allocations: 48.38 kB / 1.227 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007309/0.3338, allocations: 431.1 kB / 1.227 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.3338, allocations: 3.938 kB / 1.227 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.162e-05/0.3339, allocations: 31.98 kB / 1.227 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.3339, allocations: 12 kB / 1.227 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006529/0.3346, allocations: 341.1 kB / 1.228 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001825/0.3364, allocations: 1.263 MB / 1.229 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004378/0.3368, allocations: 258 kB / 1.229 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003819/0.3372, allocations: 178.5 kB / 1.229 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.3373, allocations: 7.938 kB / 1.229 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.3373, allocations: 34.56 kB / 1.229 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=31): time 1.463e-06/0.3373, allocations: 0 / 1.229 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of matching and sorting (n=31): time 0.0007459/0.3381, allocations: 365.6 kB / 1.23 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.3381, allocations: 51.41 kB / 1.23 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003714/0.3385, allocations: 369.7 kB / 1.23 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.3385, allocations: 29.7 kB / 1.23 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.3387, allocations: 248.1 kB / 1.23 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.273e-05/0.3387, allocations: 111 kB / 1.23 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.601e-05/0.3388, allocations: 65.66 kB / 1.23 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.339, allocations: 346.8 kB / 1.231 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002133/0.3392, allocations: 99.95 kB / 1.231 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.3394, allocations: 148.5 kB / 1.231 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004412/0.3399, allocations: 254.1 kB / 1.231 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3399, allocations: 0 / 1.231 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005768/0.3405, allocations: 350.6 kB / 1.232 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.3405, allocations: 4 kB / 1.232 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3405, allocations: 4.125 kB / 1.232 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3405, allocations: 4 kB / 1.232 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003258/0.3408, allocations: 79.89 kB / 1.232 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.3409, allocations: 0 / 1.232 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.3411, allocations: 55.5 kB / 1.232 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.3411, allocations: 12 kB / 1.232 GB, free: 2.168 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (43): * Single equations (assignments): 43 * 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.0001552/0.3412, allocations: 157.8 kB / 1.232 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.139e-05/0.3413, allocations: 47.62 kB / 1.232 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005644/0.3419, allocations: 298.6 kB / 1.232 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3419, allocations: 0 / 1.232 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3419, allocations: 0 / 1.232 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.3419, allocations: 4 kB / 1.232 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.3429, allocations: 0.8423 MB / 1.233 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.343, allocations: 0 / 1.233 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002409/0.3432, allocations: 67.91 kB / 1.233 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.3432, allocations: 0 / 1.233 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.3432, allocations: 8 kB / 1.233 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.3432, allocations: 4 kB / 1.233 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3433, allocations: 4.188 kB / 1.233 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005217/0.3438, allocations: 428.9 kB / 1.234 GB, free: 204 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.974e-05/0.3439, allocations: 124.8 kB / 1.234 GB, free: 60 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.133e-05/0.3439, allocations: 7.984 kB / 1.234 GB, free: 52 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.3441, allocations: 12 kB / 1.234 GB, free: 40 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/0.3442, allocations: 27.91 kB / 1.234 GB, free: 12 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.3442, allocations: 4 kB / 1.234 GB, free: 8 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002775/0.3445, allocations: 271.2 kB / 1.234 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.703e-06/0.3445, allocations: 0 / 1.234 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003507/0.3448, allocations: 91.72 kB / 1.234 GB, free: 15.65 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 31 * 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.0008091/0.3457, allocations: 0.9441 MB / 1.235 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004997/0.3462, allocations: 251.8 kB / 1.235 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3462, allocations: 0 / 1.235 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002279/0.3464, allocations: 123.8 kB / 1.235 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004651/0.3469, allocations: 43.28 kB / 1.235 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003744/0.3506, allocations: 3.183 MB / 1.238 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.351, allocations: 0.8029 MB / 1.239 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001352/0.3511, allocations: 39.27 kB / 1.239 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.3513, allocations: 143.4 kB / 1.239 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.3513, allocations: 0 / 1.239 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02089/0.3722, allocations: 5.651 MB / 1.245 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.53/7.903, allocations: 9.688 kB / 1.245 GB, free: 4.473 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureResetExponent.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureResetExponent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureResetExponent.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureResetExponent.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureResetExponent_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureResetExponent.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureResetExponent.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureResetExponent_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureResetExponent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureResetExponent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches