Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_latest_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.001208/0.001208, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001213/0.001213, allocations: 195.5 kB / 16.14 MB, free: 6.719 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.24/1.24, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.415/2.415, allocations: 461.9 MB / 0.7342 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 65.38 kB / 0.8985 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2303, allocations: 157.4 MB / 1.052 GB, free: 8.191 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003274/0.2336, allocations: 2.246 MB / 1.054 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002082/0.2358, allocations: 1.505 MB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002986/0.2361, allocations: 8 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001377/0.2362, allocations: 35.58 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002283/0.2365, allocations: 71.45 kB / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005696/0.237, allocations: 270.7 kB / 1.056 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004309/0.2375, allocations: 0.5824 MB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004041/0.2379, allocations: 349.8 kB / 1.057 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001726/0.2381, allocations: 199.1 kB / 1.057 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001878/0.2383, allocations: 230.8 kB / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.719e-05/0.2383, allocations: 32 kB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.2384, allocations: 47.98 kB / 1.058 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.823e-05/0.2385, allocations: 103.5 kB / 1.058 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001858/0.2387, allocations: 258.6 kB / 1.058 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005148/0.2392, allocations: 0.7361 MB / 1.059 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2392, allocations: 0 / 1.059 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2392, allocations: 3.938 kB / 1.059 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.2393, allocations: 0 / 1.059 GB, free: 1.516 MB / 0.8106 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.001001/0.2403, allocations: 0.8129 MB / 1.06 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.2403, allocations: 12.03 kB / 1.06 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.219e-05/0.2404, allocations: 94.7 kB / 1.06 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.807e-05/0.2405, allocations: 56.28 kB / 1.06 GB, free: 484 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003489/0.2408, allocations: 359.6 kB / 1.06 GB, free: 84 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/0.2409, allocations: 45.69 kB / 1.06 GB, free: 40 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.074e-05/0.241, allocations: 56.42 kB / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007454/0.2417, allocations: 0.5031 MB / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.2417, allocations: 7.938 kB / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.584e-05/0.2418, allocations: 24 kB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.2418, allocations: 16 kB / 1.061 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006115/0.2424, allocations: 356.6 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001708/0.2441, allocations: 1.457 MB / 1.062 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004879/0.2446, allocations: 281.4 kB / 1.063 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003565/0.245, allocations: 189.6 kB / 1.063 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.59e-05/0.245, allocations: 7.984 kB / 1.063 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003456/0.2454, allocations: 202.9 kB / 1.063 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=34): time 1.463e-06/0.2454, allocations: 0 / 1.063 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34): time 0.0007324/0.2461, allocations: 388.6 kB / 1.063 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.2462, allocations: 81.11 kB / 1.063 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003798/0.2466, allocations: 417.5 kB / 1.064 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.2466, allocations: 33.7 kB / 1.064 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.2468, allocations: 267.9 kB / 1.064 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.938e-05/0.2468, allocations: 114.3 kB / 1.064 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.247, allocations: 82.12 kB / 1.064 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.2471, allocations: 354.7 kB / 1.065 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002759/0.2474, allocations: 136.8 kB / 1.065 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003024/0.2477, allocations: 203.2 kB / 1.065 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005114/0.2482, allocations: 340.5 kB / 1.065 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2482, allocations: 0 / 1.065 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007598/0.249, allocations: 475.2 kB / 1.066 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.927e-05/0.249, allocations: 45.88 kB / 1.066 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.249, allocations: 4 kB / 1.066 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.2491, allocations: 4 kB / 1.066 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002907/0.2494, allocations: 75.91 kB / 1.066 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.2494, allocations: 7.938 kB / 1.066 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003381/0.2497, allocations: 79.3 kB / 1.066 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/0.2498, allocations: 19.98 kB / 1.066 GB, free: 9.648 MB / 0.8262 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.0001615/0.2499, allocations: 181.7 kB / 1.066 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.827e-05/0.25, allocations: 35.53 kB / 1.066 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005807/0.2506, allocations: 324.9 kB / 1.067 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.2506, allocations: 7.938 kB / 1.067 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2506, allocations: 0 / 1.067 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.2506, allocations: 11.98 kB / 1.067 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.2516, allocations: 0.9591 MB / 1.068 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.2516, allocations: 4.172 kB / 1.068 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002238/0.2519, allocations: 67.91 kB / 1.068 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.2519, allocations: 0 / 1.068 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.2519, allocations: 8 kB / 1.068 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.2519, allocations: 4 kB / 1.068 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.2519, allocations: 7.938 kB / 1.068 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005456/0.2525, allocations: 0.5079 MB / 1.068 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.277e-05/0.2526, allocations: 132.5 kB / 1.068 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.461e-05/0.2526, allocations: 8 kB / 1.068 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.2528, allocations: 19.98 kB / 1.068 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/0.2529, allocations: 27.84 kB / 1.068 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.2529, allocations: 12 kB / 1.068 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002626/0.2532, allocations: 287.2 kB / 1.069 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2532, allocations: 0 / 1.069 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003933/0.2536, allocations: 111.7 kB / 1.069 GB, free: 6.816 MB / 0.8262 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.0008061/0.2544, allocations: 1.06 MB / 1.07 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005884/0.255, allocations: 368 kB / 1.07 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.255, allocations: 0 / 1.07 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002453/0.2553, allocations: 148.3 kB / 1.07 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000525/0.2558, allocations: 69.39 kB / 1.07 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004459/0.2603, allocations: 3.982 MB / 1.074 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.2606, allocations: 0.8237 MB / 1.075 GB, free: 136 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001541/0.2608, allocations: 47.2 kB / 1.075 GB, free: 88 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/0.2609, allocations: 151.5 kB / 1.075 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.2609, allocations: 0 / 1.075 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01563/0.2766, allocations: 6.784 MB / 1.082 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001644/0.2768, allocations: 250.6 kB / 1.082 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.624/1.901, allocations: 6.125 kB / 1.082 GB, free: 9.113 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches