Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.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-maint.11.x/package.mo", uses=false) 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.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",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.004937/0.004937, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001211/0.001211, allocations: 193.8 kB / 16.67 MB, free: 5.969 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.518/2.518, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 63.91 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6975/0.6992, allocations: 159.1 MB / 1.22 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003229/0.7025, allocations: 2.211 MB / 1.222 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001808/0.7043, allocations: 1.528 MB / 1.224 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.7045, allocations: 8 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.7046, allocations: 59.2 kB / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002131/0.7048, allocations: 91.08 kB / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005967/0.7054, allocations: 305.4 kB / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005882/0.706, allocations: 0.6487 MB / 1.225 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000438/0.7065, allocations: 353.8 kB / 1.225 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002209/0.7067, allocations: 239.1 kB / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000251/0.7069, allocations: 254.8 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.25e-05/0.707, allocations: 72 kB / 1.226 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.7072, allocations: 87.97 kB / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.825e-05/0.7073, allocations: 123.6 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002383/0.7075, allocations: 290.6 kB / 1.226 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0007149/0.7082, allocations: 0.801 MB / 1.227 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.7082, allocations: 4 kB / 1.227 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7082, allocations: 0 / 1.227 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.7083, allocations: 0 / 1.227 GB, free: 10.93 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.0011/0.7094, allocations: 0.8355 MB / 1.228 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.7094, allocations: 8.031 kB / 1.228 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.01e-05/0.7095, allocations: 98.69 kB / 1.228 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.129e-05/0.7096, allocations: 68.56 kB / 1.228 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004001/0.71, allocations: 351.9 kB / 1.228 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.878e-05/0.71, allocations: 45.69 kB / 1.228 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.746e-05/0.7101, allocations: 56.38 kB / 1.228 GB, free: 9.371 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007876/0.7109, allocations: 0.5069 MB / 1.229 GB, free: 8.844 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.7109, allocations: 3.938 kB / 1.229 GB, free: 8.84 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.873e-05/0.711, allocations: 24 kB / 1.229 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.711, allocations: 15.94 kB / 1.229 GB, free: 8.801 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006433/0.7116, allocations: 360.7 kB / 1.229 GB, free: 8.449 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001852/0.7135, allocations: 1.458 MB / 1.231 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005124/0.714, allocations: 277.4 kB / 1.231 GB, free: 6.645 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003927/0.7144, allocations: 185.6 kB / 1.231 GB, free: 6.457 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/0.7145, allocations: 7.984 kB / 1.231 GB, free: 6.449 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003586/0.7148, allocations: 198.9 kB / 1.231 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=34): time 1.443e-06/0.7149, allocations: 4 kB / 1.231 GB, free: 6.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=34): time 0.0007644/0.7156, allocations: 393.8 kB / 1.232 GB, free: 5.844 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.7157, allocations: 89.05 kB / 1.232 GB, free: 5.738 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004245/0.7161, allocations: 405.6 kB / 1.232 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.7162, allocations: 33.7 kB / 1.232 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.7163, allocations: 264.5 kB / 1.232 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.073e-05/0.7164, allocations: 130.9 kB / 1.233 GB, free: 4.91 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.7166, allocations: 82.08 kB / 1.233 GB, free: 4.824 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.7167, allocations: 350.7 kB / 1.233 GB, free: 4.473 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002782/0.717, allocations: 136.8 kB / 1.233 GB, free: 4.34 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00032/0.7173, allocations: 199.2 kB / 1.233 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005525/0.7179, allocations: 345.2 kB / 1.234 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.7179, allocations: 4 kB / 1.234 GB, free: 3.75 MB / 0.9512 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007933/0.7187, allocations: 466.7 kB / 1.234 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.734e-05/0.7188, allocations: 37.7 kB / 1.234 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.7188, allocations: 4 kB / 1.234 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.7188, allocations: 8.188 kB / 1.234 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002916/0.7191, allocations: 83.83 kB / 1.234 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.7191, allocations: 7.938 kB / 1.234 GB, free: 3.137 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003241/0.7194, allocations: 83.47 kB / 1.234 GB, free: 3.055 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.333e-05/0.7195, allocations: 16 kB / 1.234 GB, free: 3.039 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,TRoo1.booPul.y,$PRE.TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * 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.0001791/0.7197, allocations: 178.5 kB / 1.235 GB, free: 2.855 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.995e-05/0.7197, allocations: 47.7 kB / 1.235 GB, free: 2.809 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006203/0.7203, allocations: 328.9 kB / 1.235 GB, free: 2.48 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.7204, allocations: 7.938 kB / 1.235 GB, free: 2.473 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.7204, allocations: 0 / 1.235 GB, free: 2.473 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.7204, allocations: 4 kB / 1.235 GB, free: 2.469 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.7215, allocations: 0.9669 MB / 1.236 GB, free: 1.426 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.7215, allocations: 0 / 1.236 GB, free: 1.426 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.7218, allocations: 63.91 kB / 1.236 GB, free: 1.363 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.7218, allocations: 192 / 1.236 GB, free: 1.363 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.7218, allocations: 12 kB / 1.236 GB, free: 1.352 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.7218, allocations: 7.984 kB / 1.236 GB, free: 1.344 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.7218, allocations: 4 kB / 1.236 GB, free: 1.34 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000609/0.7224, allocations: 0.5094 MB / 1.236 GB, free: 0.793 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.954e-05/0.7225, allocations: 136.7 kB / 1.237 GB, free: 0.6406 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/0.7226, allocations: 8 kB / 1.237 GB, free: 0.6328 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.7228, allocations: 8 kB / 1.237 GB, free: 0.625 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.038e-05/0.7229, allocations: 31.91 kB / 1.237 GB, free: 0.5938 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.7229, allocations: 15.98 kB / 1.237 GB, free: 0.5781 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002879/0.7232, allocations: 287.2 kB / 1.237 GB, free: 304 kB / 0.9512 GB Notification: Performance of sort global known variables: time 1.914e-06/0.7232, allocations: 0 / 1.237 GB, free: 304 kB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003872/0.7236, allocations: 107.7 kB / 1.237 GB, free: 196 kB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0009471/0.7245, allocations: 1.078 MB / 1.238 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006478/0.7252, allocations: 383.2 kB / 1.238 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.7252, allocations: 0 / 1.238 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.00025/0.7255, allocations: 139.9 kB / 1.239 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000514/0.726, allocations: 73.39 kB / 1.239 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004577/0.7306, allocations: 3.779 MB / 1.242 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.731, allocations: 0.8237 MB / 1.243 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001371/0.7311, allocations: 43.27 kB / 1.243 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/0.7313, allocations: 159.3 kB / 1.243 GB, free: 9.492 MB / 0.9669 GB Notification: Performance of SimCode: time 2.21e-07/0.7313, allocations: 0 / 1.243 GB, free: 9.492 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.64/2.372, allocations: 7.207 MB / 1.25 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.67/16.05, allocations: 19.98 kB / 1.25 GB, free: 2.465 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches