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.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.0007975/0.0007975, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008216/0.0008216, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8958/0.8958, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.757/1.757, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.086e-06/3.086e-06, allocations: 0 / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.891e-05/2.199e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002404/0.002426, allocations: 1.925 MB / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001719/0.004145, allocations: 1.571 MB / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001897/0.004335, allocations: 11.94 kB / 1.003 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.004437, allocations: 55.27 kB / 1.003 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001946/0.004631, allocations: 107 kB / 1.003 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005692/0.0052, allocations: 302.1 kB / 1.004 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004908/0.005691, allocations: 0.6486 MB / 1.004 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002992/0.00599, allocations: 254.4 kB / 1.004 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002792/0.00627, allocations: 359.3 kB / 1.005 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.006433, allocations: 183.4 kB / 1.005 GB, free: 8.098 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 5.621e-05/0.006489, allocations: 68 kB / 1.005 GB, free: 8.031 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.006592, allocations: 107.8 kB / 1.005 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.288e-05/0.006655, allocations: 123.6 kB / 1.005 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.006783, allocations: 199.5 kB / 1.005 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000531/0.007314, allocations: 0.837 MB / 1.006 GB, free: 6.77 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.007316, allocations: 0 / 1.006 GB, free: 6.77 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.182e-06/0.007317, allocations: 0 / 1.006 GB, free: 6.77 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.007325, allocations: 0 / 1.006 GB, free: 6.77 MB / 0.9636 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.0008158/0.008141, allocations: 0.7486 MB / 1.007 GB, free: 5.98 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.00818, allocations: 8.75 kB / 1.007 GB, free: 5.973 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.785e-05/0.008248, allocations: 98.7 kB / 1.007 GB, free: 5.867 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.008409, allocations: 72.55 kB / 1.007 GB, free: 5.797 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.00872, allocations: 297.7 kB / 1.007 GB, free: 5.484 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.008751, allocations: 41.69 kB / 1.007 GB, free: 5.441 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.514e-05/0.008806, allocations: 68.36 kB / 1.007 GB, free: 5.375 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005335/0.009339, allocations: 0.511 MB / 1.008 GB, free: 4.852 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.009352, allocations: 192 / 1.008 GB, free: 4.852 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.569e-05/0.009377, allocations: 20.38 kB / 1.008 GB, free: 4.832 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.009389, allocations: 16.12 kB / 1.008 GB, free: 4.816 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000417/0.009806, allocations: 357.1 kB / 1.008 GB, free: 4.465 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/0.0111, allocations: 1.264 MB / 1.01 GB, free: 3.148 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003676/0.01147, allocations: 261.4 kB / 1.01 GB, free: 2.875 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002277/0.0117, allocations: 157.6 kB / 1.01 GB, free: 2.715 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.01172, allocations: 19.91 kB / 1.01 GB, free: 2.695 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002593/0.01198, allocations: 198.9 kB / 1.01 GB, free: 2.48 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=34): time 1.132e-06/0.01198, allocations: 0 / 1.01 GB, free: 2.48 MB / 0.9636 GB Notification: Performance of matching and sorting (n=34): time 0.000544/0.01253, allocations: 395.1 kB / 1.011 GB, free: 2.09 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.01257, allocations: 85.05 kB / 1.011 GB, free: 1.988 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003052/0.01288, allocations: 417.5 kB / 1.011 GB, free: 1.574 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.0129, allocations: 33.7 kB / 1.011 GB, free: 1.535 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.01304, allocations: 268.5 kB / 1.011 GB, free: 1.27 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.127e-05/0.0131, allocations: 119 kB / 1.011 GB, free: 1.152 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.821e-05/0.01319, allocations: 78.19 kB / 1.012 GB, free: 1.07 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.0133, allocations: 362.7 kB / 1.012 GB, free: 0.707 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.0135, allocations: 158.6 kB / 1.012 GB, free: 0.5469 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.01371, allocations: 233.5 kB / 1.012 GB, free: 300 kB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003627/0.01407, allocations: 355.5 kB / 1.013 GB, free: 15.92 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.01408, allocations: 4 kB / 1.013 GB, free: 15.91 MB / 0.9792 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000523/0.0146, allocations: 0.4911 MB / 1.013 GB, free: 15.41 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 3.317e-05/0.01463, allocations: 45.62 kB / 1.013 GB, free: 15.36 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.01464, allocations: 0 / 1.013 GB, free: 15.36 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.01465, allocations: 4 kB / 1.013 GB, free: 15.35 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.01481, allocations: 75.91 kB / 1.013 GB, free: 15.28 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.01482, allocations: 4 kB / 1.013 GB, free: 15.27 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.015, allocations: 83.47 kB / 1.013 GB, free: 15.19 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.478e-05/0.01503, allocations: 19.94 kB / 1.013 GB, free: 15.17 MB / 0.9792 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.0001383/0.01517, allocations: 177.7 kB / 1.013 GB, free: 14.99 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.193e-05/0.0152, allocations: 43.72 kB / 1.014 GB, free: 14.95 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003922/0.01559, allocations: 323.5 kB / 1.014 GB, free: 14.62 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.01559, allocations: 4 kB / 1.014 GB, free: 14.62 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.0156, allocations: 3.938 kB / 1.014 GB, free: 14.61 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.0156, allocations: 0 / 1.014 GB, free: 14.61 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007287/0.01633, allocations: 0.8952 MB / 1.015 GB, free: 13.65 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.01633, allocations: 4 kB / 1.015 GB, free: 13.65 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.01645, allocations: 63.84 kB / 1.015 GB, free: 13.59 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.01646, allocations: 4 kB / 1.015 GB, free: 13.58 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.01647, allocations: 8 kB / 1.015 GB, free: 13.57 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.01647, allocations: 3.938 kB / 1.015 GB, free: 13.57 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.01647, allocations: 7.984 kB / 1.015 GB, free: 13.56 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003769/0.01685, allocations: 0.5107 MB / 1.015 GB, free: 13.02 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 4.914e-05/0.0169, allocations: 59.58 kB / 1.015 GB, free: 12.96 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.01693, allocations: 8 kB / 1.015 GB, free: 12.95 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.01704, allocations: 11.98 kB / 1.015 GB, free: 12.94 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.01708, allocations: 27.95 kB / 1.015 GB, free: 12.91 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.0171, allocations: 12 kB / 1.015 GB, free: 12.9 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.000194/0.01729, allocations: 287.2 kB / 1.016 GB, free: 12.62 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.01729, allocations: 0 / 1.016 GB, free: 12.62 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.000278/0.01757, allocations: 107.8 kB / 1.016 GB, free: 12.52 MB / 0.9792 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.0005882/0.01816, allocations: 1.068 MB / 1.017 GB, free: 11.4 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0004257/0.01858, allocations: 393.1 kB / 1.017 GB, free: 11 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.01859, allocations: 4 kB / 1.017 GB, free: 10.99 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.01874, allocations: 129 kB / 1.017 GB, free: 10.87 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.0191, allocations: 73.48 kB / 1.017 GB, free: 10.8 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003207/0.02231, allocations: 3.902 MB / 1.021 GB, free: 6.703 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001442/0.02245, allocations: 220.8 kB / 1.021 GB, free: 6.457 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001068/0.02256, allocations: 43.27 kB / 1.021 GB, free: 6.418 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.02269, allocations: 160.4 kB / 1.022 GB, free: 6.262 MB / 0.9792 GB Notification: Performance of SimCode: time 4.81e-07/0.02269, allocations: 0 / 1.022 GB, free: 6.262 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01847/0.04116, allocations: 8.14 MB / 1.03 GB, free: 14.38 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.987/7.028, allocations: 10.92 kB / 1.03 GB, free: 14.38 MB / 0.9948 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable heaCur.TOut in file Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.csv. Warning: Get data of variable heaCur.TOut from file Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.csv failed! Error: Could not read variable heaCur1.TSetZon in file Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.csv. Warning: Get data of variable heaCur1.TSetZon from file Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.csv failed! Error: Could not read variable heaCur1.TSup in file Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.csv. Warning: Get data of variable heaCur1.TSup from file Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.240358262322843]