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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 108.2 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 186.7 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 225.6 MB / 249.3 MB, free: 3.305 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.461/2.461, allocations: 476.7 MB / 0.7628 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 63.91 kB / 1.107 GB, free: 5.148 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7929/0.7948, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.00271/0.7975, allocations: 2.228 MB / 1.274 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001557/0.799, allocations: 1.537 MB / 1.275 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001681/0.7992, allocations: 11.88 kB / 1.275 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 9.825e-05/0.7993, allocations: 53.95 kB / 1.275 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.7995, allocations: 92.78 kB / 1.275 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005399/0.8, allocations: 309 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004911/0.8005, allocations: 0.6326 MB / 1.276 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003282/0.8009, allocations: 271.6 kB / 1.276 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.8011, allocations: 229 kB / 1.277 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.8013, allocations: 261.2 kB / 1.277 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.628e-05/0.8014, allocations: 70.28 kB / 1.277 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.8015, allocations: 87.84 kB / 1.277 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.446e-05/0.8016, allocations: 122.3 kB / 1.277 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.8018, allocations: 299.3 kB / 1.277 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005902/0.8024, allocations: 0.797 MB / 1.278 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.8024, allocations: 0.6562 kB / 1.278 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8024, allocations: 1.25 kB / 1.278 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.8024, allocations: 0 / 1.278 GB, free: 3.297 MB / 0.9981 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.0009623/0.8033, allocations: 0.8248 MB / 1.279 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.8034, allocations: 13.31 kB / 1.279 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.837e-05/0.8034, allocations: 97.69 kB / 1.279 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.094e-05/0.8035, allocations: 63.77 kB / 1.279 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.8039, allocations: 357.8 kB / 1.279 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.787e-05/0.8039, allocations: 49.61 kB / 1.28 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.604e-05/0.804, allocations: 55.78 kB / 1.28 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007389/0.8047, allocations: 0.5042 MB / 1.28 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.8047, allocations: 9.703 kB / 1.28 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.516e-05/0.8048, allocations: 20.44 kB / 1.28 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.8048, allocations: 13.31 kB / 1.28 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006468/0.8054, allocations: 357.1 kB / 1.28 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001851/0.8073, allocations: 1.455 MB / 1.282 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004759/0.8077, allocations: 262.7 kB / 1.282 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000361/0.8081, allocations: 167.5 kB / 1.282 GB, free: 0.7305 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.8081, allocations: 7.375 kB / 1.282 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003516/0.8085, allocations: 204.9 kB / 1.282 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=34): time 1.624e-06/0.8085, allocations: 0 / 1.282 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34): time 0.0007684/0.8093, allocations: 392.1 kB / 1.283 GB, free: 452 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.8093, allocations: 85.91 kB / 1.283 GB, free: 352 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004019/0.8097, allocations: 408.1 kB / 1.283 GB, free: 148 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.8097, allocations: 32.98 kB / 1.283 GB, free: 112 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.8099, allocations: 270.7 kB / 1.284 GB, free: 15.89 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.135e-05/0.81, allocations: 122.1 kB / 1.284 GB, free: 15.79 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.8101, allocations: 87.05 kB / 1.284 GB, free: 15.74 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.8103, allocations: 353.5 kB / 1.284 GB, free: 15.41 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002756/0.8106, allocations: 133.1 kB / 1.284 GB, free: 15.36 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003204/0.8109, allocations: 206 kB / 1.284 GB, free: 15.24 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005466/0.8114, allocations: 342.4 kB / 1.285 GB, free: 15.03 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.8114, allocations: 0 / 1.285 GB, free: 15.03 MB / 1.014 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008356/0.8123, allocations: 478.3 kB / 1.285 GB, free: 14.8 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.814e-05/0.8123, allocations: 43.97 kB / 1.285 GB, free: 14.77 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.8123, allocations: 0 / 1.285 GB, free: 14.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.8124, allocations: 8.344 kB / 1.285 GB, free: 14.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003095/0.8127, allocations: 79.45 kB / 1.285 GB, free: 14.76 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.8127, allocations: 8.938 kB / 1.285 GB, free: 14.75 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003532/0.813, allocations: 78.22 kB / 1.285 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.598e-05/0.8131, allocations: 24.25 kB / 1.285 GB, free: 14.71 MB / 1.014 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.0001788/0.8132, allocations: 175.1 kB / 1.286 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.963e-05/0.8133, allocations: 47.2 kB / 1.286 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006043/0.8139, allocations: 323.5 kB / 1.286 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.8139, allocations: 8.531 kB / 1.286 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.8139, allocations: 1.766 kB / 1.286 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.8139, allocations: 1.312 kB / 1.286 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.8151, allocations: 0.9681 MB / 1.287 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.8151, allocations: 1.406 kB / 1.287 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002366/0.8154, allocations: 65.25 kB / 1.287 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.8154, allocations: 6.609 kB / 1.287 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.8154, allocations: 7.047 kB / 1.287 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.8154, allocations: 2.688 kB / 1.287 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.8154, allocations: 3.5 kB / 1.287 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006135/0.816, allocations: 0.5103 MB / 1.288 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.8161, allocations: 130 kB / 1.288 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.286e-05/0.8162, allocations: 10.02 kB / 1.288 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.8164, allocations: 15.84 kB / 1.288 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.564e-05/0.8164, allocations: 32.09 kB / 1.288 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.8164, allocations: 13.92 kB / 1.288 GB, free: 13.16 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002879/0.8167, allocations: 288.5 kB / 1.288 GB, free: 13.02 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.8167, allocations: 0 / 1.288 GB, free: 13.02 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004314/0.8172, allocations: 107.2 kB / 1.288 GB, free: 12.99 MB / 1.014 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.0009583/0.8181, allocations: 1.078 MB / 1.289 GB, free: 12.07 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006516/0.8188, allocations: 349 kB / 1.29 GB, free: 11.91 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.8188, allocations: 1.344 kB / 1.29 GB, free: 11.91 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002456/0.819, allocations: 135 kB / 1.29 GB, free: 11.86 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005452/0.8196, allocations: 72.03 kB / 1.29 GB, free: 11.83 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004746/0.8243, allocations: 3.788 MB / 1.293 GB, free: 9.363 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004233/0.8247, allocations: 0.8204 MB / 1.294 GB, free: 8.66 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001544/0.8249, allocations: 42.12 kB / 1.294 GB, free: 8.656 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002126/0.8251, allocations: 158.6 kB / 1.294 GB, free: 8.539 MB / 1.014 GB Notification: Performance of SimCode: time 7.71e-07/0.8251, allocations: 0 / 1.294 GB, free: 8.539 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02894/0.854, allocations: 7.215 MB / 1.301 GB, free: 7.812 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.446/8.301, allocations: 10.88 kB / 1.301 GB, free: 7.809 MB / 1.014 GB " [Timeout remaining time 292] (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) [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: 13.598640997000075]