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 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.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.005233/0.005233, allocations: 95.92 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.001536/0.001536, allocations: 201.2 kB / 16.68 MB, free: 5.969 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.897/2.897, allocations: 482.4 MB / 0.7548 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 63.91 kB / 1.083 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2853, allocations: 162.2 MB / 1.242 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.FreezeProtection_Disable): time 0.006605/0.292, allocations: 4.529 MB / 1.246 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004227/0.2962, allocations: 2.765 MB / 1.249 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003873/0.2966, allocations: 31.88 kB / 1.249 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004246/0.2971, allocations: 222.7 kB / 1.249 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.657e-05/0.2972, allocations: 39.53 kB / 1.249 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004992/0.2977, allocations: 255.1 kB / 1.249 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006388/0.2983, allocations: 0.6802 MB / 1.25 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003568/0.2987, allocations: 232 kB / 1.25 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.2988, allocations: 99.56 kB / 1.25 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.299, allocations: 115.4 kB / 1.25 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.57e-05/0.299, allocations: 24 kB / 1.25 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.637e-05/0.2991, allocations: 20 kB / 1.25 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.451e-05/0.2991, allocations: 51.78 kB / 1.25 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.2992, allocations: 115.3 kB / 1.25 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003393/0.2996, allocations: 318.5 kB / 1.251 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2996, allocations: 0 / 1.251 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2996, allocations: 0 / 1.251 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.2996, allocations: 4 kB / 1.251 GB, free: 0.6367 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.503/0.8026, allocations: 0.5911 MB / 1.251 GB, free: 16.31 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.8027, allocations: 9.031 kB / 1.251 GB, free: 16.31 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.589e-05/0.8028, allocations: 50.92 kB / 1.251 GB, free: 16.27 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.481e-05/0.8028, allocations: 32.61 kB / 1.251 GB, free: 16.26 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009179/0.8037, allocations: 371.4 kB / 1.252 GB, free: 16.04 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.8038, allocations: 11.62 kB / 1.252 GB, free: 16.04 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.8038, allocations: 21.58 kB / 1.252 GB, free: 16.04 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006062/0.8044, allocations: 263.5 kB / 1.252 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.8044, allocations: 9.406 kB / 1.252 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.8045, allocations: 5 kB / 1.252 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.8045, allocations: 7.141 kB / 1.252 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007823/0.8053, allocations: 192.2 kB / 1.252 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.8065, allocations: 1.188 MB / 1.253 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004166/0.8069, allocations: 153.4 kB / 1.254 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003463/0.8073, allocations: 90.84 kB / 1.254 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.8073, allocations: 7.734 kB / 1.254 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.393e-05/0.8073, allocations: 39.59 kB / 1.254 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.472e-06/0.8074, allocations: 2.5 kB / 1.254 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.001214/0.8086, allocations: 258.1 kB / 1.254 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.8086, allocations: 161.8 kB / 1.254 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.8088, allocations: 228.5 kB / 1.254 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.8088, allocations: 30.58 kB / 1.254 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.362e-05/0.8089, allocations: 173.7 kB / 1.255 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.8089, allocations: 23.69 kB / 1.255 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.389e-05/0.809, allocations: 27.08 kB / 1.255 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.566e-05/0.8091, allocations: 330.5 kB / 1.255 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003537/0.8094, allocations: 70.94 kB / 1.255 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003528/0.8098, allocations: 117.4 kB / 1.255 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006624/0.8104, allocations: 186.8 kB / 1.255 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.8105, allocations: 1.281 kB / 1.255 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007848/0.8112, allocations: 224.4 kB / 1.255 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.8113, allocations: 9.719 kB / 1.255 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.8113, allocations: 1.688 kB / 1.255 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.8113, allocations: 3.25 kB / 1.255 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.8115, allocations: 37.66 kB / 1.256 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.8116, allocations: 7.312 kB / 1.256 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002397/0.8118, allocations: 40.02 kB / 1.256 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.8118, allocations: 4.594 kB / 1.256 GB, free: 13.77 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 8.66e-05/0.8119, allocations: 130 kB / 1.256 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.812, allocations: 25.3 kB / 1.256 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.044e-05/0.8121, allocations: 25.41 kB / 1.256 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.8121, allocations: 10.44 kB / 1.256 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.8121, allocations: 1.344 kB / 1.256 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.8121, allocations: 1.922 kB / 1.256 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004256/0.8125, allocations: 262.7 kB / 1.256 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.8125, allocations: 4.641 kB / 1.256 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.8127, allocations: 37.06 kB / 1.256 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.8128, allocations: 5.891 kB / 1.256 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.8128, allocations: 5.562 kB / 1.256 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.8128, allocations: 2.156 kB / 1.256 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.8128, allocations: 1.781 kB / 1.256 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007684/0.8136, allocations: 0.5704 MB / 1.257 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.243e-05/0.8136, allocations: 91.34 kB / 1.257 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.8136, allocations: 11.7 kB / 1.257 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003811/0.814, allocations: 34.17 kB / 1.257 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.791e-05/0.8141, allocations: 23.02 kB / 1.257 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.8141, allocations: 4.938 kB / 1.257 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001221/0.8143, allocations: 157.6 kB / 1.257 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8143, allocations: 0.7812 kB / 1.257 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004409/0.8147, allocations: 41.41 kB / 1.257 GB, free: 12.76 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.000962/0.8157, allocations: 1.116 MB / 1.258 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007545/0.8164, allocations: 160.8 kB / 1.258 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.8165, allocations: 0 / 1.258 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003843/0.8168, allocations: 86.27 kB / 1.258 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008281/0.8177, allocations: 81.81 kB / 1.258 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003362/0.8211, allocations: 2.504 MB / 1.261 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001866/0.8213, allocations: 0.7383 MB / 1.262 GB, free: 9.102 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001419/0.8214, allocations: 28.19 kB / 1.262 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.8215, allocations: 72.47 kB / 1.262 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of SimCode: time 3.3e-07/0.8215, allocations: 0.9688 kB / 1.262 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02654/0.8481, allocations: 4.845 MB / 1.266 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.722/8.57, allocations: 2.469 kB / 1.266 GB, free: 8.512 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 400 --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