Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.FreezeProtection_Disable.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.FreezeProtection_Disable,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_FreezeProtection_Disable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.FreezeProtection_Disable,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_FreezeProtection_Disable",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.001423/0.001423, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.008465/0.008465, allocations: 174.7 kB / 16.27 MB, free: 6.613 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.217/1.217, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.383/2.383, allocations: 462.6 MB / 0.7364 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002949/0.0002949, allocations: 12.28 kB / 0.903 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2565, allocations: 159.6 MB / 1.059 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.FreezeProtection_Disable): time 0.005988/0.2626, allocations: 5.142 MB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004093/0.2667, allocations: 2.175 MB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.2678, allocations: 35.88 kB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003473/0.2681, allocations: 151 kB / 1.066 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.2683, allocations: 31.66 kB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004513/0.2687, allocations: 171.6 kB / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005968/0.2693, allocations: 0.5743 MB / 1.067 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003641/0.2697, allocations: 202 kB / 1.067 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.2698, allocations: 63.64 kB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.522e-05/0.2699, allocations: 79.5 kB / 1.067 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.27, allocations: 8 kB / 1.067 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.965e-05/0.27, allocations: 4 kB / 1.067 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.306e-05/0.27, allocations: 39.72 kB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.617e-05/0.2701, allocations: 105.1 kB / 1.067 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.2703, allocations: 267.2 kB / 1.068 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2704, allocations: 0 / 1.068 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2704, allocations: 0 / 1.068 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.239e-06/0.2704, allocations: 0 / 1.068 GB, free: 11.77 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008872/0.2713, allocations: 0.561 MB / 1.068 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.2713, allocations: 11.97 kB / 1.068 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001042/0.2714, allocations: 46.73 kB / 1.068 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.818e-05/0.2715, allocations: 32.53 kB / 1.068 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008069/0.2723, allocations: 392.4 kB / 1.069 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.2723, allocations: 16.36 kB / 1.069 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.2723, allocations: 20.31 kB / 1.069 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005604/0.2729, allocations: 259.6 kB / 1.069 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.2729, allocations: 3.938 kB / 1.069 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.273, allocations: 15.98 kB / 1.069 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.273, allocations: 4 kB / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000737/0.2737, allocations: 223.8 kB / 1.069 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.275, allocations: 1.098 MB / 1.07 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004671/0.2754, allocations: 181 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003509/0.2758, allocations: 120.2 kB / 1.071 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.2758, allocations: 0 / 1.071 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.2759, allocations: 42.5 kB / 1.071 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.2759, allocations: 0 / 1.071 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.001178/0.277, allocations: 313.6 kB / 1.071 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.278e-05/0.2771, allocations: 166.1 kB / 1.071 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.2773, allocations: 217.1 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.2774, allocations: 25.7 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.95e-05/0.2774, allocations: 156 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.2775, allocations: 23.73 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.2775, allocations: 21.7 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.513e-05/0.2776, allocations: 326.8 kB / 1.072 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003371/0.278, allocations: 83.92 kB / 1.072 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003501/0.2783, allocations: 145.9 kB / 1.072 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006458/0.279, allocations: 213.8 kB / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.279, allocations: 0 / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007478/0.2797, allocations: 257.1 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.2798, allocations: 8 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.2798, allocations: 3.938 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.2798, allocations: 4 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.28, allocations: 52.02 kB / 1.073 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.28, allocations: 4 kB / 1.073 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002338/0.2803, allocations: 51.95 kB / 1.073 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.2803, allocations: 4 kB / 1.073 GB, free: 6.348 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 4 (greThr.greHys.y,$PRE.greThr.greHys.y,frePro.conInt10.y,frePro.conInt9.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001414/0.2804, allocations: 133.8 kB / 1.073 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.629e-05/0.2805, allocations: 19.81 kB / 1.073 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.175e-05/0.2806, allocations: 24.86 kB / 1.073 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2806, allocations: 7.938 kB / 1.073 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.2806, allocations: 4 kB / 1.073 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2806, allocations: 0 / 1.073 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004134/0.281, allocations: 245.5 kB / 1.073 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.281, allocations: 0 / 1.073 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/0.2812, allocations: 47.95 kB / 1.073 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2812, allocations: 0 / 1.073 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.2813, allocations: 4 kB / 1.073 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.2813, allocations: 3.938 kB / 1.073 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.2813, allocations: 11.92 kB / 1.073 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007985/0.2821, allocations: 0.6058 MB / 1.074 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.96e-05/0.2821, allocations: 88.97 kB / 1.074 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.2822, allocations: 11.98 kB / 1.074 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003539/0.2825, allocations: 47.89 kB / 1.074 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.545e-05/0.2826, allocations: 23.91 kB / 1.074 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/0.2826, allocations: 4 kB / 1.074 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001835/0.2828, allocations: 152.5 kB / 1.074 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2828, allocations: 0 / 1.074 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003893/0.2832, allocations: 35.84 kB / 1.074 GB, free: 4.793 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (greThr.greHys.y) * Number of discrete states: 1 (greThr.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001085/0.2843, allocations: 1.155 MB / 1.075 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000699/0.285, allocations: 196 kB / 1.075 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.285, allocations: 0 / 1.075 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000364/0.2854, allocations: 108.1 kB / 1.075 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007525/0.2861, allocations: 72.44 kB / 1.075 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003476/0.2896, allocations: 2.591 MB / 1.078 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.2899, allocations: 0.7361 MB / 1.079 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001289/0.29, allocations: 21.55 kB / 1.079 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.171e-05/0.2901, allocations: 67.41 kB / 1.079 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of SimCode: time 3.1e-07/0.2901, allocations: 0 / 1.079 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.713/6.004, allocations: 3.901 MB / 1.083 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000206/6.004, allocations: 261.8 kB / 1.083 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.959/7.963, allocations: 1.875 kB / 1.083 GB, free: 11.68 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.FreezeProtection_Disable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.FreezeProtection_Disable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.FreezeProtection_Disable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.FreezeProtection_Disable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.FreezeProtection_Disable_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_FreezeProtection_Disable_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_FreezeProtection_Disable.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.FreezeProtection_Disable.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.FreezeProtection_Disable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_FreezeProtection_Disable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.FreezeProtection_Disable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches