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_FanSpe_VOut_flow.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: translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damLim.uSupFan_actual|damLim.VOutMinSet_flow|damLim.yOutDam_min|damLim.yOutDam_max|damLim1.uSupFan_actual|damLim1.VOutMinSet_flow|damLim1.yOutDam_min|damLim1.yOutDam_max",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damLim.uSupFan_actual|damLim.VOutMinSet_flow|damLim.yOutDam_min|damLim.yOutDam_max|damLim1.uSupFan_actual|damLim1.VOutMinSet_flow|damLim1.yOutDam_min|damLim1.yOutDam_max",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009384/0.0009384, allocations: 100 kB / 15.05 MB, free: 1.105 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.001087/0.001087, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.775/2.775, allocations: 436.5 MB / 0.7104 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003624/0.0003626, allocations: 12 kB / 0.8709 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9002/0.9006, allocations: 153.7 MB / 1.021 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow): time 0.003019/0.9036, allocations: 1.791 MB / 1.023 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003202/0.9069, allocations: 1.404 MB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008673/0.9078, allocations: 19.88 kB / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002803/0.9081, allocations: 43.5 kB / 1.024 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006722/0.9088, allocations: 95.66 kB / 1.024 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007023/0.9095, allocations: 179.6 kB / 1.024 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001051/0.9106, allocations: 461.1 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000587/0.9112, allocations: 285.6 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000363/0.9116, allocations: 202.9 kB / 1.025 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000374/0.912, allocations: 226.6 kB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.9121, allocations: 23.94 kB / 1.025 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.281e-05/0.9122, allocations: 24 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.37e-05/0.9123, allocations: 95.52 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.9124, allocations: 125.3 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001063/0.9135, allocations: 0.8744 MB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.9135, allocations: 0 / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.194e-06/0.9135, allocations: 0 / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.586e-05/0.9136, allocations: 0 / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.002052/0.9156, allocations: 0.8494 MB / 1.027 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.9157, allocations: 11.98 kB / 1.027 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002357/0.9159, allocations: 83.05 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.9172, allocations: 0.5562 MB / 1.028 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.76e-05/0.9172, allocations: 49.3 kB / 1.028 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.9173, allocations: 64 kB / 1.028 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.9186, allocations: 0.5491 MB / 1.029 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.9186, allocations: 0 / 1.029 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.839e-05/0.9187, allocations: 24 kB / 1.029 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.201e-05/0.9187, allocations: 16 kB / 1.029 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.9198, allocations: 493 kB / 1.029 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003523/0.9233, allocations: 1.891 MB / 1.031 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006069/0.924, allocations: 215.4 kB / 1.031 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.924, allocations: 192 / 1.031 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.924, allocations: 38.75 kB / 1.031 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 1.533e-06/0.9241, allocations: 0 / 1.031 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22): time 0.0009071/0.925, allocations: 355.2 kB / 1.032 GB, free: 5.875 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.925, allocations: 55.41 kB / 1.032 GB, free: 5.809 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006938/0.9257, allocations: 0.5769 MB / 1.032 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.9258, allocations: 29.7 kB / 1.032 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002752/0.926, allocations: 378.7 kB / 1.033 GB, free: 4.809 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.273e-05/0.9261, allocations: 82.84 kB / 1.033 GB, free: 4.727 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.905e-05/0.9261, allocations: 8 kB / 1.033 GB, free: 4.719 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.9263, allocations: 378.7 kB / 1.033 GB, free: 4.34 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003426/0.9267, allocations: 133 kB / 1.033 GB, free: 4.211 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004556/0.9271, allocations: 392.7 kB / 1.034 GB, free: 3.703 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003758/0.9275, allocations: 183.8 kB / 1.034 GB, free: 3.523 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.9275, allocations: 8 kB / 1.034 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001039/0.9286, allocations: 0.5735 MB / 1.034 GB, free: 2.938 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.9286, allocations: 8 kB / 1.034 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.9286, allocations: 12 kB / 1.034 GB, free: 2.918 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.9287, allocations: 12 kB / 1.034 GB, free: 2.906 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003726/0.929, allocations: 116 kB / 1.034 GB, free: 2.793 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.938e-05/0.9291, allocations: 19.92 kB / 1.034 GB, free: 2.773 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003892/0.9295, allocations: 91.11 kB / 1.035 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-05/0.9295, allocations: 32 kB / 1.035 GB, free: 2.652 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.damLim.noZerMin.greHys.y,damLim1.and1.y,damLim.and1.y,damLim.and2.u2,damLim1.and2.u2,damLim.and2.y,damLim.not1.u,damLim1.and2.y,damLim1.not1.u,operationMode.y,freProSta.y,fanStatus.y,damLim1.conInt1.y,damLim1.conInt.y,damLim.conInt1.y,damLim.conInt.y,damLim.intLesEqu.y,damLim.and1.u2,damLim1.intLesEqu.y,damLim1.and1.u2,damLim1.not1.y,$PRE.damLim1.noZerMin.greHys.y,damLim1.noZerMin.greHys.y,damLim.not1.y,damLim.noZerMin.greHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002741/0.9298, allocations: 211.8 kB / 1.035 GB, free: 2.434 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.019e-05/0.9299, allocations: 63.3 kB / 1.035 GB, free: 2.371 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006855/0.9306, allocations: 298.5 kB / 1.035 GB, free: 2.066 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.9306, allocations: 7.938 kB / 1.035 GB, free: 2.059 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.9306, allocations: 0 / 1.035 GB, free: 2.059 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.9306, allocations: 3.984 kB / 1.035 GB, free: 2.055 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/0.932, allocations: 0.9026 MB / 1.036 GB, free: 1.078 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.932, allocations: 3.938 kB / 1.036 GB, free: 1.074 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.9322, allocations: 51.95 kB / 1.036 GB, free: 1.023 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/0.9322, allocations: 8.188 kB / 1.036 GB, free: 1.016 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.9322, allocations: 8 kB / 1.036 GB, free: 1.008 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.293e-06/0.9322, allocations: 7.938 kB / 1.036 GB, free: 1 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.9322, allocations: 0 / 1.036 GB, free: 1 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000641/0.9329, allocations: 496.6 kB / 1.037 GB, free: 456 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.933, allocations: 136.4 kB / 1.037 GB, free: 300 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.793e-05/0.9331, allocations: 8 kB / 1.037 GB, free: 292 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.9333, allocations: 23.98 kB / 1.037 GB, free: 268 kB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.715e-05/0.9334, allocations: 35.84 kB / 1.037 GB, free: 232 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.9334, allocations: 8 kB / 1.037 GB, free: 224 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004225/0.9339, allocations: 366.8 kB / 1.037 GB, free: 15.86 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9339, allocations: 4 kB / 1.037 GB, free: 15.86 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005057/0.9344, allocations: 107.6 kB / 1.037 GB, free: 15.75 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (damLim1.noZerMin.greHys.y) * Number of discrete states: 1 (damLim1.noZerMin.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00016/0.9345, allocations: 119.2 kB / 1.037 GB, free: 15.63 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000718/0.9353, allocations: 341.1 kB / 1.038 GB, free: 15.3 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.9353, allocations: 0.75 kB / 1.038 GB, free: 15.3 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002747/0.9356, allocations: 115.8 kB / 1.038 GB, free: 15.18 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007677/0.9363, allocations: 202.9 kB / 1.038 GB, free: 14.99 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.9379, allocations: 1.03 MB / 1.039 GB, free: 13.91 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004799/0.9384, allocations: 0.8866 MB / 1.04 GB, free: 13 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002981/0.9387, allocations: 80.91 kB / 1.04 GB, free: 12.91 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.454e-05/0.9388, allocations: 43.44 kB / 1.04 GB, free: 12.87 MB / 0.795 GB Notification: Performance of SimCode: time 7.92e-07/0.9388, allocations: 0 / 1.04 GB, free: 12.87 MB / 0.795 GB Notification: Performance of Templates: time 0.009589/0.9484, allocations: 4.44 MB / 1.044 GB, free: 8.527 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_FanSpe_VOut_flow.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches