Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_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.Economizers.Subsequences.Validation.Limits_Disable,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_Disable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_Disable,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_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.004719/0.004719, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.00105/0.00105, allocations: 201.3 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.783/2.783, allocations: 469.4 MB / 0.7422 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 63.91 kB / 1.064 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.341, allocations: 159.1 MB / 1.22 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_Disable): time 0.004759/0.3458, allocations: 3.051 MB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003005/0.3488, allocations: 1.723 MB / 1.224 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008406/0.3497, allocations: 23.88 kB / 1.225 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005051/0.3502, allocations: 118.5 kB / 1.225 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006946/0.3509, allocations: 186.4 kB / 1.225 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009409/0.3519, allocations: 439.5 kB / 1.225 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001514/0.3534, allocations: 1.188 MB / 1.226 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008112/0.3542, allocations: 0.5643 MB / 1.227 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004987/0.3547, allocations: 438.2 kB / 1.227 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004288/0.3552, allocations: 489.4 kB / 1.228 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001521/0.3553, allocations: 124 kB / 1.228 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.3555, allocations: 128 kB / 1.228 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002083/0.3557, allocations: 255.1 kB / 1.228 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000398/0.3561, allocations: 0.5089 MB / 1.229 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001491/0.3576, allocations: 1.669 MB / 1.23 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3576, allocations: 0 / 1.23 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.475e-06/0.3576, allocations: 0 / 1.23 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.041e-05/0.3576, allocations: 4 kB / 1.23 GB, free: 3.617 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.002142/0.3598, allocations: 1.289 MB / 1.232 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.3598, allocations: 12.03 kB / 1.232 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001815/0.36, allocations: 148.2 kB / 1.232 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001738/0.3602, allocations: 128.1 kB / 1.232 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.3616, allocations: 0.755 MB / 1.233 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.253e-05/0.3617, allocations: 66.38 kB / 1.233 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.3618, allocations: 104.1 kB / 1.233 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/0.3633, allocations: 0.7999 MB / 1.234 GB, free: 224 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.3633, allocations: 0 / 1.234 GB, free: 224 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-05/0.3634, allocations: 36 kB / 1.234 GB, free: 188 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.3634, allocations: 24 kB / 1.234 GB, free: 164 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001338/0.3648, allocations: 0.6794 MB / 1.234 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004128/0.3689, allocations: 2.678 MB / 1.237 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006684/0.3696, allocations: 310.3 kB / 1.237 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003148/0.3699, allocations: 140.8 kB / 1.237 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.893e-05/0.37, allocations: 12.08 kB / 1.237 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.37, allocations: 42.56 kB / 1.237 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=36): time 2.435e-06/0.37, allocations: 0 / 1.237 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36): time 0.001116/0.3712, allocations: 478.7 kB / 1.238 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.3712, allocations: 59.41 kB / 1.238 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.3723, allocations: 0.8096 MB / 1.239 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.108e-05/0.3723, allocations: 41.69 kB / 1.239 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000424/0.3727, allocations: 0.5076 MB / 1.239 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.3729, allocations: 138.9 kB / 1.239 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002537/0.3731, allocations: 182.5 kB / 1.24 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.3733, allocations: 390.8 kB / 1.24 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004253/0.3737, allocations: 185.9 kB / 1.24 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006606/0.3744, allocations: 0.524 MB / 1.241 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.3755, allocations: 0.7305 MB / 1.241 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-05/0.3756, allocations: 7.938 kB / 1.241 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001577/0.3771, allocations: 0.7929 MB / 1.242 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/0.3772, allocations: 8 kB / 1.242 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.268e-05/0.3772, allocations: 12 kB / 1.242 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.4e-05/0.3773, allocations: 16 kB / 1.242 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005591/0.3778, allocations: 151.7 kB / 1.242 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-05/0.3779, allocations: 23.92 kB / 1.242 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007022/0.3786, allocations: 131 kB / 1.242 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.438e-05/0.3787, allocations: 48 kB / 1.243 GB, free: 6.59 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 39 (damLim3.and1.y,damLim2.and1.y,damLim2.and2.u2,damLim3.and2.u2,damLim1.and2.y,damLim1.not1.u,damLim2.and2.y,damLim2.not1.u,damLim3.and2.y,damLim3.not1.u,operationMode3.y,freProSta3.y,fanStatus3.y,operationMode2.y,freProSta2.y,fanStatus2.y,operationMode1.y,fanStatus1.y,damLim3.conInt1.y,damLim3.conInt.y,damLim2.conInt1.y,damLim2.conInt.y,damLim1.conInt1.y,damLim1.conInt.y,damLim1.intLesEqu.y,damLim1.and1.u2,damLim1.not1.y,damLim2.intLesEqu.y,damLim2.and1.u2,damLim3.intLesEqu.y,damLim3.and1.u2,damLim3.not1.y,damLim2.not1.y,damLim3.noZerMin.greHys.y,$PRE.damLim3.noZerMin.greHys.y,damLim2.noZerMin.greHys.y,$PRE.damLim2.noZerMin.greHys.y,damLim1.noZerMin.greHys.y,$PRE.damLim1.noZerMin.greHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 101 * 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.000404/0.3791, allocations: 254 kB / 1.243 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.3792, allocations: 87.42 kB / 1.243 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.3803, allocations: 427.1 kB / 1.243 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.884e-06/0.3803, allocations: 4 kB / 1.243 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.978e-06/0.3803, allocations: 0 / 1.243 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.3803, allocations: 0 / 1.243 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002151/0.3825, allocations: 1.359 MB / 1.245 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.3825, allocations: 4 kB / 1.245 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002847/0.3828, allocations: 67.89 kB / 1.245 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.3828, allocations: 7.875 kB / 1.245 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.3828, allocations: 8 kB / 1.245 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.3828, allocations: 4 kB / 1.245 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.3828, allocations: 4.062 kB / 1.245 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008425/0.3837, allocations: 0.5064 MB / 1.245 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001932/0.3839, allocations: 172.4 kB / 1.245 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.784e-05/0.384, allocations: 12 kB / 1.245 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003462/0.3843, allocations: 23.97 kB / 1.245 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.3845, allocations: 51.86 kB / 1.245 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.3845, allocations: 8 kB / 1.245 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006825/0.3852, allocations: 0.5107 MB / 1.246 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3852, allocations: 4 kB / 1.246 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006915/0.3859, allocations: 167.5 kB / 1.246 GB, free: 2.762 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: 3 (damLim1.noZerMin.greHys.y,damLim2.noZerMin.greHys.y,damLim3.noZerMin.greHys.y) * Number of discrete states: 3 (damLim3.noZerMin.greHys.y,damLim2.noZerMin.greHys.y,damLim1.noZerMin.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.001342/0.3872, allocations: 1.062 MB / 1.247 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001091/0.3883, allocations: 484.6 kB / 1.248 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.3883, allocations: 384 / 1.248 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003583/0.3887, allocations: 171.7 kB / 1.248 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.3899, allocations: 252.3 kB / 1.248 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5853/0.9752, allocations: 5.86 MB / 1.254 GB, free: 26.82 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000505/0.9758, allocations: 0.9661 MB / 1.255 GB, free: 26.12 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004498/0.9762, allocations: 113.4 kB / 1.255 GB, free: 26.11 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004339/0.9767, allocations: 352.1 kB / 1.255 GB, free: 26.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.002e-06/0.9767, allocations: 0 / 1.255 GB, free: 26.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04167/1.018, allocations: 14.05 MB / 1.269 GB, free: 25.01 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.846/10.86, allocations: 9.828 kB / 1.269 GB, free: 25 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_Disable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_Disable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_Disable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_Disable.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_Disable_res.csv --start-time 0 --stop-time 1800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.72 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_Disable.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_Disable.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_Disable_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_Disable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_Disable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches