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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.006551/0.006557, allocations: 96.48 kB / 15.73 MB, free: 6.484 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.001597/0.001597, allocations: 191.6 kB / 16.67 MB, free: 6.391 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.68/2.68, allocations: 469.4 MB / 0.7421 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 63.89 kB / 1.064 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.251, allocations: 159.1 MB / 1.22 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.FreezeProtection_Disable): time 0.00736/0.2584, allocations: 5.679 MB / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004323/0.2627, allocations: 2.214 MB / 1.228 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009771/0.2637, allocations: 35.88 kB / 1.228 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003789/0.2641, allocations: 166.9 kB / 1.228 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001256/0.2642, allocations: 47.53 kB / 1.228 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005262/0.2648, allocations: 231.1 kB / 1.228 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005476/0.2653, allocations: 0.6094 MB / 1.229 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003408/0.2657, allocations: 200.1 kB / 1.229 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.2658, allocations: 91.64 kB / 1.229 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.2659, allocations: 103.5 kB / 1.229 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.944e-05/0.266, allocations: 20 kB / 1.229 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.916e-05/0.266, allocations: 20 kB / 1.229 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.472e-05/0.2661, allocations: 47.84 kB / 1.229 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.116e-05/0.2662, allocations: 107.3 kB / 1.229 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002888/0.2665, allocations: 286.6 kB / 1.229 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2665, allocations: 0 / 1.229 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2665, allocations: 0 / 1.229 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.286e-05/0.2665, allocations: 3.984 kB / 1.229 GB, free: 4.711 MB / 0.9825 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.0009333/0.2674, allocations: 0.5723 MB / 1.23 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.2675, allocations: 8.031 kB / 1.23 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.161e-05/0.2675, allocations: 50.73 kB / 1.23 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.14e-05/0.2676, allocations: 28.75 kB / 1.23 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008515/0.2684, allocations: 360.8 kB / 1.23 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.2685, allocations: 8.375 kB / 1.23 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.2685, allocations: 16.38 kB / 1.23 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005752/0.2691, allocations: 253.1 kB / 1.231 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.2691, allocations: 7.922 kB / 1.231 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.2691, allocations: 8 kB / 1.231 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2691, allocations: 4 kB / 1.231 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000737/0.2699, allocations: 183.7 kB / 1.231 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.2712, allocations: 1.07 MB / 1.232 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004168/0.2716, allocations: 160.9 kB / 1.232 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003563/0.272, allocations: 96.28 kB / 1.232 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.272, allocations: 3.938 kB / 1.232 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.272, allocations: 46.55 kB / 1.232 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.272, allocations: 4 kB / 1.232 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.001178/0.2732, allocations: 249.6 kB / 1.232 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.79e-05/0.2733, allocations: 162.1 kB / 1.233 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.2735, allocations: 217 kB / 1.233 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.2735, allocations: 33.95 kB / 1.233 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.51e-05/0.2736, allocations: 160.2 kB / 1.233 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.2736, allocations: 19.78 kB / 1.233 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/0.2737, allocations: 25.72 kB / 1.233 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.2738, allocations: 330.8 kB / 1.233 GB, free: 348 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003379/0.2741, allocations: 67.92 kB / 1.233 GB, free: 280 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003426/0.2745, allocations: 105.9 kB / 1.233 GB, free: 152 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006722/0.2752, allocations: 177.7 kB / 1.234 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2752, allocations: 0 / 1.234 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007622/0.276, allocations: 209.3 kB / 1.234 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.276, allocations: 8 kB / 1.234 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.276, allocations: 0 / 1.234 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.276, allocations: 8.188 kB / 1.234 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.2763, allocations: 43.83 kB / 1.234 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.2763, allocations: 0 / 1.234 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.2765, allocations: 39.91 kB / 1.234 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.2765, allocations: 4 kB / 1.234 GB, free: 15.64 MB / 0.9981 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.0001045/0.2766, allocations: 134.4 kB / 1.234 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.2767, allocations: 19.84 kB / 1.234 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.457e-05/0.2768, allocations: 20.86 kB / 1.234 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.2768, allocations: 7.938 kB / 1.234 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2768, allocations: 0 / 1.234 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.2768, allocations: 4 kB / 1.234 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004357/0.2773, allocations: 245.5 kB / 1.234 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.2773, allocations: 4.188 kB / 1.234 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/0.2775, allocations: 39.89 kB / 1.234 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.2775, allocations: 7.938 kB / 1.234 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.2775, allocations: 0 / 1.234 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.2775, allocations: 7.938 kB / 1.234 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.2775, allocations: 0 / 1.234 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008277/0.2784, allocations: 0.5745 MB / 1.235 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.97e-05/0.2784, allocations: 93 kB / 1.235 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.2785, allocations: 8 kB / 1.235 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003809/0.2788, allocations: 31.89 kB / 1.235 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.381e-05/0.2789, allocations: 24.03 kB / 1.235 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.2789, allocations: 8 kB / 1.235 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001164/0.2791, allocations: 144.5 kB / 1.235 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2791, allocations: 4 kB / 1.235 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000439/0.2795, allocations: 35.89 kB / 1.235 GB, free: 14.14 MB / 0.9981 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.001082/0.2806, allocations: 1.123 MB / 1.236 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007322/0.2813, allocations: 160 kB / 1.237 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2813, allocations: 0 / 1.237 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003776/0.2817, allocations: 79.86 kB / 1.237 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007957/0.2825, allocations: 71.59 kB / 1.237 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00347/0.286, allocations: 2.441 MB / 1.239 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.2863, allocations: 0.7358 MB / 1.24 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001264/0.2864, allocations: 25.53 kB / 1.24 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.2866, allocations: 67.42 kB / 1.24 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of SimCode: time 2.81e-07/0.2866, allocations: 0 / 1.24 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01863/0.3052, allocations: 4.511 MB / 1.244 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.465/7.77, allocations: 15.2 kB / 1.244 GB, free: 4.969 MB / 0.9981 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.FreezeProtection_Disable_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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.csv","/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