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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005239/0.005243, allocations: 97.2 kB / 15.73 MB, free: 6.039 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.001401/0.001401, allocations: 202 kB / 16.68 MB, free: 5.961 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.638/2.638, allocations: 482.6 MB / 0.755 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 67.89 kB / 1.083 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2615, allocations: 162.3 MB / 1.242 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003109/0.2647, allocations: 2.224 MB / 1.244 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00176/0.2664, allocations: 1.517 MB / 1.245 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.2666, allocations: 8 kB / 1.245 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.2667, allocations: 55.27 kB / 1.246 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000219/0.2669, allocations: 95.02 kB / 1.246 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005963/0.2675, allocations: 303.5 kB / 1.246 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005764/0.2681, allocations: 0.6449 MB / 1.247 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000435/0.2686, allocations: 357.8 kB / 1.247 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.2688, allocations: 235.2 kB / 1.247 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002538/0.269, allocations: 266.1 kB / 1.247 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.846e-05/0.2691, allocations: 68 kB / 1.247 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.2693, allocations: 83.94 kB / 1.248 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.468e-05/0.2694, allocations: 123.6 kB / 1.248 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002358/0.2696, allocations: 294.6 kB / 1.248 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006868/0.2703, allocations: 0.7974 MB / 1.249 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.2703, allocations: 0 / 1.249 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2703, allocations: 0 / 1.249 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.311e-06/0.2703, allocations: 4 kB / 1.249 GB, free: 2.777 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.001114/0.2714, allocations: 0.8278 MB / 1.25 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.2715, allocations: 8.031 kB / 1.25 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.805e-05/0.2716, allocations: 98.7 kB / 1.25 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.74e-05/0.2717, allocations: 68.5 kB / 1.25 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/0.2721, allocations: 359.8 kB / 1.25 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.964e-05/0.2721, allocations: 41.69 kB / 1.25 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.011e-05/0.2722, allocations: 56.38 kB / 1.25 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008112/0.273, allocations: 0.507 MB / 1.251 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.2731, allocations: 3.938 kB / 1.251 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.822e-05/0.2731, allocations: 20 kB / 1.251 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.2731, allocations: 12 kB / 1.251 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006888/0.2738, allocations: 364.6 kB / 1.251 GB, free: 316 kB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4305/0.7043, allocations: 1.443 MB / 1.252 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005258/0.7049, allocations: 283.2 kB / 1.253 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003646/0.7053, allocations: 179.5 kB / 1.253 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.392e-05/0.7053, allocations: 10.02 kB / 1.253 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00037/0.7057, allocations: 207.4 kB / 1.253 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=34): time 2.014e-06/0.7057, allocations: 1.375 kB / 1.253 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34): time 0.0007521/0.7065, allocations: 387.6 kB / 1.253 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.7065, allocations: 86.64 kB / 1.254 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003804/0.7069, allocations: 410.8 kB / 1.254 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.7069, allocations: 37.3 kB / 1.254 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.7071, allocations: 271.3 kB / 1.254 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.818e-05/0.7071, allocations: 118 kB / 1.254 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.7073, allocations: 87.98 kB / 1.254 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.225e-05/0.7073, allocations: 355.1 kB / 1.255 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/0.7076, allocations: 130.4 kB / 1.255 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002813/0.7079, allocations: 209.2 kB / 1.255 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004791/0.7084, allocations: 340.1 kB / 1.255 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.7084, allocations: 5.281 kB / 1.255 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000752/0.7091, allocations: 480.4 kB / 1.256 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.287e-05/0.7092, allocations: 37.86 kB / 1.256 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.7092, allocations: 2 kB / 1.256 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.7092, allocations: 3.75 kB / 1.256 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/0.7095, allocations: 79.2 kB / 1.256 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.7095, allocations: 10.14 kB / 1.256 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003275/0.7099, allocations: 79.08 kB / 1.256 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/0.7099, allocations: 19.62 kB / 1.256 GB, free: 12.52 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.0001347/0.71, allocations: 175.4 kB / 1.256 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.78e-05/0.7101, allocations: 42.3 kB / 1.256 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005531/0.7106, allocations: 325.5 kB / 1.257 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.7107, allocations: 4.797 kB / 1.257 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.7107, allocations: 1 kB / 1.257 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.7107, allocations: 1.922 kB / 1.257 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009651/0.7117, allocations: 0.9702 MB / 1.258 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.7117, allocations: 5.406 kB / 1.258 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.7119, allocations: 65.64 kB / 1.258 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.7119, allocations: 5.688 kB / 1.258 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.7119, allocations: 8.5 kB / 1.258 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.7119, allocations: 3.906 kB / 1.258 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.7119, allocations: 2.344 kB / 1.258 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004991/0.7124, allocations: 0.5001 MB / 1.258 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.722e-05/0.7125, allocations: 138.9 kB / 1.258 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.282e-05/0.7126, allocations: 9.016 kB / 1.258 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.7128, allocations: 13.17 kB / 1.258 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.851e-05/0.7128, allocations: 24.91 kB / 1.258 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.7129, allocations: 13.66 kB / 1.258 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002597/0.7131, allocations: 287.4 kB / 1.259 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.81e-07/0.7131, allocations: 0 / 1.259 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000407/0.7135, allocations: 120.6 kB / 1.259 GB, free: 10.83 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.0006598/0.7142, allocations: 1.07 MB / 1.26 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006049/0.7148, allocations: 387.4 kB / 1.26 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7148, allocations: 4.375 kB / 1.26 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002342/0.7151, allocations: 135.3 kB / 1.26 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005035/0.7156, allocations: 66.25 kB / 1.26 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003888/0.7195, allocations: 3.79 MB / 1.264 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001835/0.7197, allocations: 0.8267 MB / 1.265 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001349/0.7198, allocations: 43.2 kB / 1.265 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.72, allocations: 160.4 kB / 1.265 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.72, allocations: 0 / 1.265 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.726/5.446, allocations: 7.218 MB / 1.272 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/18.37, allocations: 10.41 kB / 1.272 GB, free: 5.723 MB / 0.9981 GB (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 --timeout=400 --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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches