Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.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.MultiZone.VAV.SetPoints.Validation.FreezeProtection_Disable,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_FreezeProtection_Disable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.FreezeProtection_Disable,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_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.006533/0.006533, allocations: 101.1 kB / 15.73 MB, free: 5.508 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.001207/0.001207, allocations: 195.7 kB / 16.67 MB, free: 5.438 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.962/2.962, allocations: 469.4 MB / 0.7421 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 63.91 kB / 1.064 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3012, allocations: 159.1 MB / 1.22 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.FreezeProtection_Disable): time 0.00843/0.3097, allocations: 5.903 MB / 1.226 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00496/0.3147, allocations: 2.323 MB / 1.228 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.316, allocations: 43.81 kB / 1.228 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004965/0.3165, allocations: 214.7 kB / 1.228 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001775/0.3167, allocations: 47.53 kB / 1.228 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006933/0.3174, allocations: 259 kB / 1.228 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006568/0.318, allocations: 0.6801 MB / 1.229 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004244/0.3185, allocations: 232 kB / 1.229 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.3186, allocations: 91.64 kB / 1.229 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.3187, allocations: 119.3 kB / 1.229 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.874e-05/0.3188, allocations: 28 kB / 1.229 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.655e-05/0.3188, allocations: 20 kB / 1.23 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.307e-05/0.3189, allocations: 51.83 kB / 1.23 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.319, allocations: 111.3 kB / 1.23 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003566/0.3194, allocations: 318.5 kB / 1.23 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3194, allocations: 0 / 1.23 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3194, allocations: 0 / 1.23 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.3194, allocations: 0 / 1.23 GB, free: 4.102 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001026/0.3204, allocations: 0.5994 MB / 1.231 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.3205, allocations: 12.03 kB / 1.231 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.372e-05/0.3205, allocations: 50.73 kB / 1.231 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.324e-05/0.3206, allocations: 32.75 kB / 1.231 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009183/0.3215, allocations: 370.7 kB / 1.231 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.3216, allocations: 16.38 kB / 1.231 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/0.3216, allocations: 16.38 kB / 1.231 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006129/0.3222, allocations: 268.8 kB / 1.231 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.3222, allocations: 3.938 kB / 1.231 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.3223, allocations: 12 kB / 1.231 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.3223, allocations: 4 kB / 1.231 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007413/0.323, allocations: 191.7 kB / 1.231 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.3244, allocations: 1.18 MB / 1.233 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004394/0.3249, allocations: 164.9 kB / 1.233 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003436/0.3252, allocations: 92.28 kB / 1.233 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.3252, allocations: 0 / 1.233 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.251e-05/0.3253, allocations: 50.48 kB / 1.233 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 2.324e-06/0.3253, allocations: 0 / 1.233 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.001189/0.3265, allocations: 261.7 kB / 1.233 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.015e-05/0.3266, allocations: 162.2 kB / 1.233 GB, free: 332 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.3268, allocations: 217 kB / 1.234 GB, free: 108 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.3268, allocations: 33.7 kB / 1.234 GB, free: 68 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.3269, allocations: 168.1 kB / 1.234 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.327, allocations: 19.89 kB / 1.234 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.353e-05/0.327, allocations: 29.67 kB / 1.234 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.3271, allocations: 330.8 kB / 1.234 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003416/0.3275, allocations: 75.86 kB / 1.234 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003576/0.3279, allocations: 122.7 kB / 1.234 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006624/0.3285, allocations: 186.6 kB / 1.234 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3285, allocations: 0 / 1.234 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007799/0.3293, allocations: 217.3 kB / 1.235 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.3294, allocations: 7.938 kB / 1.235 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.3294, allocations: 4 kB / 1.235 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.3294, allocations: 0 / 1.235 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002388/0.3296, allocations: 43.89 kB / 1.235 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.3296, allocations: 4.156 kB / 1.235 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.3299, allocations: 43.84 kB / 1.235 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.3299, allocations: 8 kB / 1.235 GB, free: 14.76 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 (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 (10): * Single equations (assignments): 10 * 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.0001343/0.33, allocations: 130.3 kB / 1.235 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.3302, allocations: 23.84 kB / 1.235 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.384e-05/0.3302, allocations: 20.86 kB / 1.235 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.3302, allocations: 8 kB / 1.235 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3302, allocations: 0 / 1.235 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.3302, allocations: 4 kB / 1.235 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004465/0.3307, allocations: 253.5 kB / 1.235 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.3307, allocations: 4 kB / 1.235 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/0.3309, allocations: 31.95 kB / 1.235 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.3309, allocations: 7.938 kB / 1.235 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.3309, allocations: 0 / 1.235 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.702e-06/0.331, allocations: 8 kB / 1.235 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.331, allocations: 7.938 kB / 1.235 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008348/0.3318, allocations: 0.5668 MB / 1.236 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.42e-05/0.3319, allocations: 100.9 kB / 1.236 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/0.3319, allocations: 11.94 kB / 1.236 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003741/0.3323, allocations: 31.95 kB / 1.236 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.155e-05/0.3324, allocations: 19.97 kB / 1.236 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.3324, allocations: 4 kB / 1.236 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001309/0.3325, allocations: 160.5 kB / 1.236 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3325, allocations: 0 / 1.236 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004577/0.333, allocations: 35.89 kB / 1.236 GB, free: 13.25 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.001155/0.3342, allocations: 1.12 MB / 1.237 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007276/0.3349, allocations: 155.7 kB / 1.237 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3349, allocations: 3.938 kB / 1.237 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000393/0.3353, allocations: 92.34 kB / 1.237 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008468/0.3362, allocations: 80.92 kB / 1.238 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003744/0.3399, allocations: 2.514 MB / 1.24 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.3403, allocations: 0.7437 MB / 1.241 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001483/0.3404, allocations: 33.67 kB / 1.241 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.3405, allocations: 75.42 kB / 1.241 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of SimCode: time 2.6e-07/0.3406, allocations: 0 / 1.241 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02099/0.3615, allocations: 4.83 MB / 1.246 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.528/7.889, allocations: 14.34 kB / 1.246 GB, free: 3.645 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.FreezeProtection_Disable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.FreezeProtection_Disable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.FreezeProtection_Disable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.FreezeProtection_Disable.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.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_MultiZone_VAV_SetPoints_Validation_FreezeProtection_Disable.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.FreezeProtection_Disable.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.FreezeProtection_Disable_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_FreezeProtection_Disable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.FreezeProtection_Disable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches