Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_9_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.001309/0.001309, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001302/0.001302, allocations: 191.8 kB / 16.13 MB, free: 6.703 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.343/1.343, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.204/2.204, allocations: 390.2 MB / 0.6643 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 63.91 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5031/0.5042, allocations: 140.4 MB / 0.9491 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002588/0.5068, allocations: 2.238 MB / 0.9512 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001687/0.5086, allocations: 1.51 MB / 0.9527 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002266/0.5088, allocations: 8.031 kB / 0.9527 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001109/0.5089, allocations: 36.64 kB / 0.9528 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001913/0.5091, allocations: 66.81 kB / 0.9528 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004678/0.5096, allocations: 263.6 kB / 0.9531 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003539/0.51, allocations: 0.5816 MB / 0.9536 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003541/0.5103, allocations: 354.5 kB / 0.954 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.5105, allocations: 193.2 kB / 0.9542 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.5106, allocations: 234 kB / 0.9544 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.593e-05/0.5107, allocations: 34.75 kB / 0.9544 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.881e-05/0.5108, allocations: 48.83 kB / 0.9545 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.366e-05/0.5109, allocations: 95.33 kB / 0.9546 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.511, allocations: 260.3 kB / 0.9548 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004415/0.5115, allocations: 0.7326 MB / 0.9555 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.5115, allocations: 0 / 0.9555 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.82e-07/0.5115, allocations: 0 / 0.9555 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.5115, allocations: 1.469 kB / 0.9555 GB, free: 4.109 MB / 0.7169 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.0008526/0.5124, allocations: 0.8101 MB / 0.9563 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.5124, allocations: 8.562 kB / 0.9563 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.92e-05/0.5125, allocations: 104 kB / 0.9564 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.503e-05/0.5126, allocations: 65.44 kB / 0.9565 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.5129, allocations: 366.8 kB / 0.9568 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.109e-05/0.5129, allocations: 39.47 kB / 0.9569 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.317e-05/0.513, allocations: 60.19 kB / 0.9569 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006955/0.5137, allocations: 0.5016 MB / 0.9574 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.5137, allocations: 3.938 kB / 0.9574 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.163e-05/0.5137, allocations: 29.78 kB / 0.9575 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.5137, allocations: 13.34 kB / 0.9575 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005733/0.5143, allocations: 360.8 kB / 0.9578 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001517/0.5158, allocations: 1.455 MB / 0.9592 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004574/0.5163, allocations: 283.4 kB / 0.9595 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003281/0.5166, allocations: 178.9 kB / 0.9597 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.5167, allocations: 8.484 kB / 0.9597 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003137/0.517, allocations: 201.6 kB / 0.9599 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=34): time 1.553e-06/0.517, allocations: 0 / 0.9599 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34): time 0.0006842/0.5177, allocations: 394.3 kB / 0.9602 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.5177, allocations: 82.11 kB / 0.9603 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000336/0.5181, allocations: 403.3 kB / 0.9607 GB, free: 300 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.5181, allocations: 36.86 kB / 0.9607 GB, free: 260 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.5182, allocations: 276.1 kB / 0.961 GB, free: 8 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.901e-05/0.5183, allocations: 112.8 kB / 0.9611 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.5185, allocations: 83.44 kB / 0.9612 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.5186, allocations: 352.6 kB / 0.9615 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002764/0.5189, allocations: 136.8 kB / 0.9617 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003111/0.5192, allocations: 203.6 kB / 0.9619 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005119/0.5197, allocations: 348.4 kB / 0.9622 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.5197, allocations: 0 / 0.9622 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007546/0.5205, allocations: 468.9 kB / 0.9626 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.5205, allocations: 37.73 kB / 0.9627 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.5205, allocations: 5.312 kB / 0.9627 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.5205, allocations: 3.75 kB / 0.9627 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/0.5208, allocations: 78.52 kB / 0.9628 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.5209, allocations: 6.656 kB / 0.9628 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000334/0.5212, allocations: 85.77 kB / 0.9628 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.439e-05/0.5212, allocations: 20.72 kB / 0.9629 GB, free: 14.69 MB / 0.7325 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.0001722/0.5214, allocations: 173.8 kB / 0.963 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.042e-05/0.5215, allocations: 42.12 kB / 0.9631 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005908/0.5221, allocations: 328.5 kB / 0.9634 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.5221, allocations: 7.156 kB / 0.9634 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.5221, allocations: 0.9062 kB / 0.9634 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.5221, allocations: 1.094 kB / 0.9634 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.5232, allocations: 0.9747 MB / 0.9643 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.5232, allocations: 2.156 kB / 0.9643 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/0.5234, allocations: 65.89 kB / 0.9644 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/0.5234, allocations: 3.75 kB / 0.9644 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.5234, allocations: 7.375 kB / 0.9644 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.5235, allocations: 7.25 kB / 0.9644 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5235, allocations: 2.219 kB / 0.9644 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005661/0.524, allocations: 0.5185 MB / 0.9649 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.767e-05/0.5241, allocations: 124.9 kB / 0.9651 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.551e-05/0.5242, allocations: 8.25 kB / 0.9651 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.5244, allocations: 18.27 kB / 0.9651 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.604e-05/0.5245, allocations: 31.12 kB / 0.9651 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.5245, allocations: 9.125 kB / 0.9651 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002774/0.5248, allocations: 292.3 kB / 0.9654 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5248, allocations: 0 / 0.9654 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004116/0.5252, allocations: 111.4 kB / 0.9655 GB, free: 12.71 MB / 0.7325 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.0008414/0.526, allocations: 1.061 MB / 0.9665 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006086/0.5267, allocations: 379.7 kB / 0.9669 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5267, allocations: 0 / 0.9669 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002468/0.5269, allocations: 139 kB / 0.967 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00054/0.5275, allocations: 65.19 kB / 0.9671 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004743/0.5322, allocations: 3.976 MB / 0.971 GB, free: 8.535 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.5326, allocations: 0.8225 MB / 0.9718 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001728/0.5328, allocations: 42.92 kB / 0.9718 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/0.533, allocations: 158 kB / 0.972 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of SimCode: time 2.9e-07/0.533, allocations: 1.25 kB / 0.972 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.411/3.944, allocations: 6.777 MB / 0.9786 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003024/3.945, allocations: 244.7 kB / 0.9788 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.409/6.354, allocations: 0 / 0.9788 GB, free: 3.016 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches