Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 110.4 kB / 18.94 MB, free: 2.812 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 218.7 kB / 22.25 MB, free: 5.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.572/1.572, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.311/3.311, allocations: 0.49 GB / 0.7951 GB, free: 33.4 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003253/0.003253, allocations: 64.55 kB / 1.154 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4499/0.4532, allocations: 176.1 MB / 1.326 GB, free: 2.023 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.004229/0.4574, allocations: 2.229 MB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002917/0.4603, allocations: 1.603 MB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000463/0.4608, allocations: 8 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002463/0.461, allocations: 59.2 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004848/0.4615, allocations: 95.09 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.4626, allocations: 306.3 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0009504/0.4635, allocations: 0.6371 MB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005531/0.4641, allocations: 262.4 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003842/0.4644, allocations: 247.1 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003977/0.4648, allocations: 254.8 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001373/0.465, allocations: 68 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002001/0.4652, allocations: 95.91 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.4653, allocations: 135.5 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003291/0.4656, allocations: 282.6 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009702/0.4666, allocations: 0.8055 MB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.4666, allocations: 3.984 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4666, allocations: 0 / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.522e-05/0.4666, allocations: 0 / 1.333 GB, free: 10.94 MB / 1.029 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.001526/0.4682, allocations: 0.7525 MB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.4682, allocations: 12.02 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001415/0.4684, allocations: 98.7 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000285/0.4686, allocations: 64.56 kB / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005129/0.4692, allocations: 298 kB / 1.334 GB, free: 9.648 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.933e-05/0.4692, allocations: 45.69 kB / 1.334 GB, free: 9.605 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.19e-05/0.4693, allocations: 64.36 kB / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009527/0.4703, allocations: 0.4955 MB / 1.335 GB, free: 9.031 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.4703, allocations: 3.938 kB / 1.335 GB, free: 9.027 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.371e-05/0.4703, allocations: 31.94 kB / 1.335 GB, free: 8.996 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.4703, allocations: 12 kB / 1.335 GB, free: 8.984 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000759/0.4711, allocations: 361 kB / 1.335 GB, free: 8.629 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002374/0.4735, allocations: 1.4 MB / 1.336 GB, free: 7.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006392/0.4741, allocations: 269.3 kB / 1.337 GB, free: 6.898 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00045/0.4746, allocations: 169.6 kB / 1.337 GB, free: 6.727 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.276e-05/0.4746, allocations: 8 kB / 1.337 GB, free: 6.719 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004127/0.475, allocations: 202.8 kB / 1.337 GB, free: 6.5 MB / 1.029 GB Notification: Performance of pre-optimization done (n=34): time 3.357e-06/0.475, allocations: 0 / 1.337 GB, free: 6.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=34): time 0.0009359/0.4759, allocations: 397 kB / 1.337 GB, free: 6.109 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.476, allocations: 81.11 kB / 1.337 GB, free: 6.012 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005089/0.4765, allocations: 409.7 kB / 1.338 GB, free: 5.609 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.16e-05/0.4766, allocations: 33.7 kB / 1.338 GB, free: 5.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002459/0.4768, allocations: 272.4 kB / 1.338 GB, free: 5.297 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.4769, allocations: 115 kB / 1.338 GB, free: 5.184 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.4771, allocations: 90.06 kB / 1.338 GB, free: 5.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.4772, allocations: 358.7 kB / 1.339 GB, free: 4.73 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003152/0.4776, allocations: 132.8 kB / 1.339 GB, free: 4.602 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003554/0.4779, allocations: 199.2 kB / 1.339 GB, free: 4.383 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006276/0.4785, allocations: 339.4 kB / 1.339 GB, free: 4.023 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.4785, allocations: 0 / 1.339 GB, free: 4.023 MB / 1.029 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009226/0.4795, allocations: 481.8 kB / 1.34 GB, free: 3.543 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.233e-05/0.4795, allocations: 41.69 kB / 1.34 GB, free: 3.496 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.4795, allocations: 4 kB / 1.34 GB, free: 3.492 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.4796, allocations: 4 kB / 1.34 GB, free: 3.488 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000333/0.4799, allocations: 83.89 kB / 1.34 GB, free: 3.406 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.4799, allocations: 8.125 kB / 1.34 GB, free: 3.398 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003713/0.4803, allocations: 75.53 kB / 1.34 GB, free: 3.324 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.841e-05/0.4803, allocations: 23.98 kB / 1.34 GB, free: 3.301 MB / 1.029 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.0002239/0.4805, allocations: 173.7 kB / 1.34 GB, free: 3.121 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.353e-05/0.4806, allocations: 43.7 kB / 1.34 GB, free: 3.078 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006876/0.4813, allocations: 334.4 kB / 1.34 GB, free: 2.742 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.4813, allocations: 7.938 kB / 1.34 GB, free: 2.734 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.4813, allocations: 4 kB / 1.34 GB, free: 2.73 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.4813, allocations: 3.984 kB / 1.34 GB, free: 2.727 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001366/0.4827, allocations: 0.9489 MB / 1.341 GB, free: 1.711 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.4827, allocations: 0 / 1.341 GB, free: 1.711 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.4829, allocations: 59.91 kB / 1.341 GB, free: 1.652 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.4829, allocations: 4 kB / 1.341 GB, free: 1.648 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.483, allocations: 8 kB / 1.341 GB, free: 1.641 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.483, allocations: 0 / 1.341 GB, free: 1.641 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.483, allocations: 4 kB / 1.341 GB, free: 1.637 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007025/0.4837, allocations: 0.5212 MB / 1.342 GB, free: 1.078 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.442e-05/0.4838, allocations: 47.69 kB / 1.342 GB, free: 1.031 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-05/0.4838, allocations: 8 kB / 1.342 GB, free: 1.023 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.484, allocations: 11.98 kB / 1.342 GB, free: 1.012 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.273e-05/0.4841, allocations: 35.83 kB / 1.342 GB, free: 0.9766 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/0.4841, allocations: 12 kB / 1.342 GB, free: 0.9648 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003514/0.4845, allocations: 291.2 kB / 1.342 GB, free: 0.6797 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4845, allocations: 0 / 1.342 GB, free: 0.6797 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005092/0.485, allocations: 107.7 kB / 1.342 GB, free: 0.5742 MB / 1.029 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.00117/0.4862, allocations: 1.068 MB / 1.344 GB, free: 15.46 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007842/0.4869, allocations: 355.7 kB / 1.344 GB, free: 15.1 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.487, allocations: 0 / 1.344 GB, free: 15.1 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002799/0.4872, allocations: 131.6 kB / 1.344 GB, free: 14.98 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006129/0.4878, allocations: 78.14 kB / 1.344 GB, free: 14.9 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005892/0.4937, allocations: 3.763 MB / 1.348 GB, free: 10.96 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005277/0.4943, allocations: 0.8237 MB / 1.349 GB, free: 10.11 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001723/0.4944, allocations: 43.27 kB / 1.349 GB, free: 10.07 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002295/0.4947, allocations: 159.4 kB / 1.349 GB, free: 9.918 MB / 1.045 GB Notification: Performance of SimCode: time 9.52e-07/0.4947, allocations: 0 / 1.349 GB, free: 9.918 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04087/0.5355, allocations: 7.549 MB / 1.356 GB, free: 2.559 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.63, allocations: 3.062 kB / 1.356 GB, free: 2.559 MB / 1.045 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.725984761025757]