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.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.001797/0.001797, allocations: 110.4 kB / 18.94 MB, free: 2.953 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.001632/0.001632, allocations: 214.1 kB / 22.25 MB, free: 5.133 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.524/1.524, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.843/2.843, allocations: 476.7 MB / 0.7707 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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"}) [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.002113/0.002113, allocations: 68.03 kB / 1.117 GB, free: 40.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3963, allocations: 170 MB / 1.283 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.004663/0.4009, allocations: 2.22 MB / 1.286 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003223/0.4042, allocations: 1.587 MB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003133/0.4045, allocations: 8 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001784/0.4047, allocations: 67.14 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003031/0.405, allocations: 95.08 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008644/0.4058, allocations: 309 kB / 1.288 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008345/0.4067, allocations: 0.641 MB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005263/0.4072, allocations: 262.4 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003152/0.4075, allocations: 235.2 kB / 1.289 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003414/0.4078, allocations: 258.8 kB / 1.289 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.4079, allocations: 72 kB / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001945/0.4081, allocations: 99.98 kB / 1.289 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.4083, allocations: 131.5 kB / 1.289 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003115/0.4086, allocations: 290.6 kB / 1.289 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009778/0.4096, allocations: 0.8086 MB / 1.29 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.164e-05/0.4096, allocations: 4 kB / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.536e-06/0.4096, allocations: 0 / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.316e-05/0.4096, allocations: 0 / 1.29 GB, free: 4.684 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001544/0.4112, allocations: 0.7525 MB / 1.291 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.4112, allocations: 8.031 kB / 1.291 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001232/0.4113, allocations: 102.6 kB / 1.291 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002692/0.4116, allocations: 72.55 kB / 1.291 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004845/0.4121, allocations: 298 kB / 1.291 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.159e-05/0.4121, allocations: 41.69 kB / 1.291 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.263e-05/0.4122, allocations: 60.38 kB / 1.292 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008773/0.4131, allocations: 0.5033 MB / 1.292 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.4131, allocations: 7.875 kB / 1.292 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.641e-05/0.4132, allocations: 23.98 kB / 1.292 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.4132, allocations: 12 kB / 1.292 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008139/0.414, allocations: 361 kB / 1.292 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002214/0.4162, allocations: 1.404 MB / 1.294 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005987/0.4168, allocations: 269.3 kB / 1.294 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004023/0.4172, allocations: 165.6 kB / 1.294 GB, free: 484 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.066e-05/0.4172, allocations: 7.984 kB / 1.294 GB, free: 476 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004537/0.4177, allocations: 198.9 kB / 1.294 GB, free: 256 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=34): time 1.853e-06/0.4177, allocations: 0 / 1.294 GB, free: 256 kB / 0.9825 GB Notification: Performance of matching and sorting (n=34): time 0.000939/0.4186, allocations: 398 kB / 1.295 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.683e-05/0.4187, allocations: 85.09 kB / 1.295 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004861/0.4192, allocations: 409.7 kB / 1.295 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.105e-05/0.4192, allocations: 33.7 kB / 1.295 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002684/0.4195, allocations: 272.3 kB / 1.296 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.4196, allocations: 115 kB / 1.296 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.4198, allocations: 82.08 kB / 1.296 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002147/0.42, allocations: 358.5 kB / 1.296 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003006/0.4203, allocations: 132.7 kB / 1.296 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003483/0.4206, allocations: 207.2 kB / 1.296 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005953/0.4212, allocations: 353 kB / 1.297 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.4212, allocations: 0 / 1.297 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008948/0.4221, allocations: 474.7 kB / 1.297 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.904e-05/0.4222, allocations: 37.7 kB / 1.297 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.4222, allocations: 0 / 1.297 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.4222, allocations: 4 kB / 1.297 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00032/0.4225, allocations: 83.77 kB / 1.297 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.4225, allocations: 4 kB / 1.297 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003926/0.4229, allocations: 87.67 kB / 1.297 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.69e-05/0.423, allocations: 16 kB / 1.297 GB, free: 13.04 MB / 0.9981 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.0002031/0.4232, allocations: 165.8 kB / 1.298 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.475e-05/0.4232, allocations: 47.66 kB / 1.298 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000684/0.4239, allocations: 328.8 kB / 1.298 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.4239, allocations: 11.92 kB / 1.298 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4239, allocations: 4 kB / 1.298 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.4239, allocations: 0 / 1.298 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/0.4253, allocations: 0.9397 MB / 1.299 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.4253, allocations: 8 kB / 1.299 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000237/0.4255, allocations: 59.91 kB / 1.299 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.4255, allocations: 7.938 kB / 1.299 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.4256, allocations: 8 kB / 1.299 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.164e-06/0.4256, allocations: 7.938 kB / 1.299 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4256, allocations: 0 / 1.299 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007791/0.4264, allocations: 0.5095 MB / 1.299 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.011e-05/0.4264, allocations: 55.69 kB / 1.299 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.979e-05/0.4265, allocations: 11.98 kB / 1.3 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.4267, allocations: 12 kB / 1.3 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.159e-05/0.4268, allocations: 27.89 kB / 1.3 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.4268, allocations: 8 kB / 1.3 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003422/0.4271, allocations: 291.2 kB / 1.3 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4271, allocations: 0 / 1.3 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004623/0.4276, allocations: 111.7 kB / 1.3 GB, free: 10.33 MB / 0.9981 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.001157/0.4288, allocations: 1.08 MB / 1.301 GB, free: 9.203 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000715/0.4295, allocations: 356.3 kB / 1.301 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.4295, allocations: 4.375 kB / 1.301 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002679/0.4297, allocations: 133.4 kB / 1.301 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005805/0.4303, allocations: 64.84 kB / 1.302 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005454/0.4358, allocations: 3.783 MB / 1.305 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005206/0.4363, allocations: 0.8198 MB / 1.306 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000162/0.4365, allocations: 43.27 kB / 1.306 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002383/0.4367, allocations: 159.4 kB / 1.306 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of SimCode: time 7.31e-07/0.4367, allocations: 0 / 1.306 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04192/0.4786, allocations: 7.534 MB / 1.314 GB, free: 12.32 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.53, allocations: 7.078 kB / 1.314 GB, free: 12.32 MB / 1.014 GB " [Timeout remaining time 287] (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 --stepSize=0.0004 --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) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.43040190800093]