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.0008012/0.0008012, allocations: 72.45 kB / 19.17 MB, free: 0.7344 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.0008299/0.0008299, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8604/0.8604, allocations: 177.1 MB / 202.8 MB, free: 5.719 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.749/1.749, allocations: 389 MB / 0.633 GB, free: 12.64 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 2.495e-06/2.495e-06, allocations: 0 / 0.9996 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.323e-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.002293/0.002316, allocations: 1.927 MB / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001664/0.003981, allocations: 1.571 MB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001781/0.004159, allocations: 8 kB / 1.003 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.000102/0.004261, allocations: 59.2 kB / 1.003 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000197/0.004458, allocations: 107 kB / 1.003 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005401/0.004998, allocations: 305.8 kB / 1.004 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004148/0.005413, allocations: 0.6486 MB / 1.004 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002901/0.005703, allocations: 254.3 kB / 1.004 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002632/0.005966, allocations: 359.3 kB / 1.005 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.006152, allocations: 183.4 kB / 1.005 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 6.473e-05/0.006217, allocations: 72 kB / 1.005 GB, free: 8.016 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.006333, allocations: 91.92 kB / 1.005 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.24e-05/0.006405, allocations: 131.5 kB / 1.005 GB, free: 7.797 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001362/0.006541, allocations: 199.6 kB / 1.005 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0006977/0.007239, allocations: 0.8409 MB / 1.006 GB, free: 6.758 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.007245, allocations: 0 / 1.006 GB, free: 6.758 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.994e-06/0.007247, allocations: 3.938 kB / 1.006 GB, free: 6.754 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.007256, allocations: 0 / 1.006 GB, free: 6.754 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.0009192/0.008175, allocations: 0.7408 MB / 1.007 GB, free: 5.973 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.008221, allocations: 12.75 kB / 1.007 GB, free: 5.961 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.703e-05/0.008288, allocations: 102.6 kB / 1.007 GB, free: 5.852 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001694/0.008457, allocations: 72.55 kB / 1.007 GB, free: 5.781 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.008787, allocations: 293.7 kB / 1.007 GB, free: 5.473 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.595e-05/0.008833, allocations: 49.67 kB / 1.007 GB, free: 5.422 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.483e-05/0.008878, allocations: 52.38 kB / 1.007 GB, free: 5.371 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005387/0.009417, allocations: 0.4994 MB / 1.008 GB, free: 4.859 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.009429, allocations: 4.125 kB / 1.008 GB, free: 4.855 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.009455, allocations: 20.38 kB / 1.008 GB, free: 4.836 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.009465, allocations: 20.12 kB / 1.008 GB, free: 4.816 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004163/0.009882, allocations: 361.1 kB / 1.008 GB, free: 4.461 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/0.01132, allocations: 1.256 MB / 1.01 GB, free: 3.152 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000386/0.01171, allocations: 265.3 kB / 1.01 GB, free: 2.875 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/0.01195, allocations: 173.7 kB / 1.01 GB, free: 2.699 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.01198, allocations: 7.938 kB / 1.01 GB, free: 2.691 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003093/0.01229, allocations: 206.9 kB / 1.01 GB, free: 2.469 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=34): time 1.643e-06/0.01229, allocations: 0 / 1.01 GB, free: 2.469 MB / 0.9636 GB Notification: Performance of matching and sorting (n=34): time 0.000534/0.01282, allocations: 393.8 kB / 1.011 GB, free: 2.082 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.01286, allocations: 81.11 kB / 1.011 GB, free: 1.984 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/0.01315, allocations: 417.6 kB / 1.011 GB, free: 1.57 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.01318, allocations: 33.7 kB / 1.011 GB, free: 1.531 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.01331, allocations: 272.4 kB / 1.011 GB, free: 1.262 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 5.464e-05/0.01336, allocations: 119 kB / 1.011 GB, free: 1.145 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.928e-05/0.01345, allocations: 78.19 kB / 1.012 GB, free: 1.062 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.797e-05/0.01354, allocations: 354.7 kB / 1.012 GB, free: 0.707 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.01373, allocations: 162.6 kB / 1.012 GB, free: 0.543 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.01393, allocations: 249.4 kB / 1.012 GB, free: 280 kB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004209/0.01435, allocations: 341 kB / 1.013 GB, free: 15.91 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01436, allocations: 0 / 1.013 GB, free: 15.91 MB / 0.9792 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005051/0.01486, allocations: 0.5044 MB / 1.013 GB, free: 15.39 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/0.01489, allocations: 37.7 kB / 1.013 GB, free: 15.35 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.0149, allocations: 0 / 1.013 GB, free: 15.35 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.01491, allocations: 4 kB / 1.013 GB, free: 15.35 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.01509, allocations: 83.83 kB / 1.013 GB, free: 15.27 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.0151, allocations: 4.188 kB / 1.013 GB, free: 15.26 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.01527, allocations: 87.47 kB / 1.013 GB, free: 15.18 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.0153, allocations: 19.94 kB / 1.013 GB, free: 15.16 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.0001319/0.01543, allocations: 165.8 kB / 1.013 GB, free: 14.98 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.01546, allocations: 43.72 kB / 1.014 GB, free: 14.94 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003865/0.01585, allocations: 328.9 kB / 1.014 GB, free: 14.61 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.01585, allocations: 11.98 kB / 1.014 GB, free: 14.6 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.01586, allocations: 0 / 1.014 GB, free: 14.6 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.01586, allocations: 0 / 1.014 GB, free: 14.6 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007504/0.01661, allocations: 0.8828 MB / 1.015 GB, free: 13.65 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.01661, allocations: 0 / 1.015 GB, free: 13.65 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.01673, allocations: 60.03 kB / 1.015 GB, free: 13.59 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.01674, allocations: 8 kB / 1.015 GB, free: 13.58 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.01675, allocations: 11.98 kB / 1.015 GB, free: 13.57 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.01675, allocations: 4 kB / 1.015 GB, free: 13.57 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.01676, allocations: 11.92 kB / 1.015 GB, free: 13.55 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003651/0.01712, allocations: 0.5059 MB / 1.015 GB, free: 13.02 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 4.902e-05/0.01717, allocations: 55.58 kB / 1.015 GB, free: 12.96 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.0172, allocations: 8 kB / 1.015 GB, free: 12.95 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.01731, allocations: 19.98 kB / 1.015 GB, free: 12.93 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/0.01736, allocations: 27.91 kB / 1.015 GB, free: 12.91 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.01737, allocations: 19.98 kB / 1.015 GB, free: 12.89 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.000189/0.01756, allocations: 283.2 kB / 1.016 GB, free: 12.61 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.8e-07/0.01756, allocations: 0 / 1.016 GB, free: 12.61 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002993/0.01786, allocations: 111.8 kB / 1.016 GB, free: 12.5 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.0005941/0.01845, allocations: 1.064 MB / 1.017 GB, free: 11.39 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0004305/0.01888, allocations: 388.8 kB / 1.017 GB, free: 10.99 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.01889, allocations: 0 / 1.017 GB, free: 10.99 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.01903, allocations: 127.8 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.0003808/0.01942, allocations: 72.33 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.003263/0.02268, allocations: 3.914 MB / 1.021 GB, free: 6.691 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001408/0.02282, allocations: 224.8 kB / 1.021 GB, free: 6.441 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001184/0.02294, allocations: 43.27 kB / 1.021 GB, free: 6.402 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.02307, allocations: 156.4 kB / 1.022 GB, free: 6.25 MB / 0.9792 GB Notification: Performance of SimCode: time 7.31e-07/0.02307, allocations: 0 / 1.022 GB, free: 6.25 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01876/0.04183, allocations: 8.137 MB / 1.03 GB, free: 14.37 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.688/6.73, allocations: 11.5 kB / 1.03 GB, free: 14.36 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.66144420672208]