Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_Validation_OutdoorAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_Validation_OutdoorAirFlow",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.001134/0.001134, allocations: 99.86 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.001463/0.001463, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.29/2.29, allocations: 205.4 MB / 222.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.956/1.956, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007814/0.0007815, allocations: 14.81 kB / 0.6738 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3167, allocations: 116.3 MB / 0.7873 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow): time 0.004452/0.3212, allocations: 3.706 MB / 0.7909 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00387/0.3251, allocations: 2.112 MB / 0.793 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006871/0.3258, allocations: 27.88 kB / 0.793 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000356/0.3261, allocations: 118.8 kB / 0.7931 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006113/0.3268, allocations: 203.3 kB / 0.7933 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.3279, allocations: 434.9 kB / 0.7938 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001263/0.3292, allocations: 0.9032 MB / 0.7946 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/0.3303, allocations: 0.8777 MB / 0.7955 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004569/0.3308, allocations: 366 kB / 0.7958 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004671/0.3313, allocations: 477.1 kB / 0.7963 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.912e-05/0.3314, allocations: 36 kB / 0.7963 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.3315, allocations: 51.98 kB / 0.7964 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002043/0.3317, allocations: 230.9 kB / 0.7966 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002066/0.332, allocations: 260.8 kB / 0.7968 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001623/0.3336, allocations: 1.952 MB / 0.7988 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3336, allocations: 4 kB / 0.7988 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.255e-06/0.3336, allocations: 0 / 0.7988 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.278e-05/0.3336, allocations: 0 / 0.7988 GB, free: 15.97 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 403 * Number of variables: 403 Notification: Performance of Generate backend data structure: time 0.002821/0.3365, allocations: 1.61 MB / 0.8003 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.3365, allocations: 12.03 kB / 0.8003 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003182/0.3369, allocations: 228.2 kB / 0.8006 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003316/0.3372, allocations: 189.7 kB / 0.8007 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.3384, allocations: 0.7629 MB / 0.8015 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/0.3386, allocations: 123.2 kB / 0.8016 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001882/0.3388, allocations: 160 kB / 0.8018 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002598/0.3414, allocations: 1.346 MB / 0.8031 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.829e-05/0.3414, allocations: 0 / 0.8031 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001356/0.3416, allocations: 68 kB / 0.8031 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.278e-05/0.3416, allocations: 40 kB / 0.8032 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00265/0.3443, allocations: 1.234 MB / 0.8044 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008084/0.3524, allocations: 4.132 MB / 0.8084 GB, free: 5.84 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002049/0.3544, allocations: 0.8862 MB / 0.8093 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.86e-05/0.3545, allocations: 8.656 kB / 0.8093 GB, free: 4.934 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008962/0.3554, allocations: 444.2 kB / 0.8097 GB, free: 4.488 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=73): time 3.666e-06/0.3554, allocations: 0 / 0.8097 GB, free: 4.488 MB / 0.6231 GB Notification: Performance of matching and sorting (n=73): time 0.002576/0.358, allocations: 1.11 MB / 0.8108 GB, free: 3.371 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.3581, allocations: 67.94 kB / 0.8109 GB, free: 3.293 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/0.3594, allocations: 1.029 MB / 0.8119 GB, free: 2.246 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.053e-05/0.3595, allocations: 49.69 kB / 0.8119 GB, free: 2.191 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000542/0.3601, allocations: 0.6823 MB / 0.8126 GB, free: 1.5 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002022/0.3603, allocations: 232.6 kB / 0.8128 GB, free: 1.27 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-05/0.3603, allocations: 24 kB / 0.8128 GB, free: 1.246 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.3605, allocations: 337.9 kB / 0.8131 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008265/0.3613, allocations: 409.7 kB / 0.8135 GB, free: 0.5117 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000964/0.3623, allocations: 0.5599 MB / 0.8141 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008751/0.3632, allocations: 480.5 kB / 0.8145 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.3632, allocations: 3.953 kB / 0.8145 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002223/0.3654, allocations: 1.158 MB / 0.8157 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.823e-05/0.3655, allocations: 41.69 kB / 0.8157 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.3655, allocations: 0 / 0.8157 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.3655, allocations: 12 kB / 0.8157 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008448/0.3664, allocations: 203.7 kB / 0.8159 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.891e-05/0.3664, allocations: 15.92 kB / 0.8159 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009915/0.3674, allocations: 226.5 kB / 0.8162 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.238e-05/0.3675, allocations: 43.92 kB / 0.8162 GB, free: 13.7 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition1,$whenCondition2,opeMod.y,ahu1.occMod.y,zon3.occSen.y,zon2.occSen.y,zon1.cloWin.y,zon1.occSen.y,ahu1.intEqu1.y,zon1.nOcc,$PRE.zon1.hys.y,zon1.hys.y,zon2.nOcc,$PRE.zon2.hys.y,zon2.hys.y,zon3.nOcc,$PRE.zon3.hys.y,zon3.hys.y,$PRE.ahu1.hys1.y,ahu1.hys1.y,$PRE.winSta1.y,winSta1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 1 * 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.0006137/0.3681, allocations: 317.3 kB / 0.8165 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.3683, allocations: 118.5 kB / 0.8166 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001806/0.3701, allocations: 0.8715 MB / 0.8175 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.3701, allocations: 8 kB / 0.8175 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3701, allocations: 0 / 0.8175 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.3701, allocations: 7.984 kB / 0.8175 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003578/0.3737, allocations: 2.364 MB / 0.8198 GB, free: 9.879 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.3737, allocations: 4 kB / 0.8198 GB, free: 9.875 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006385/0.3744, allocations: 164.3 kB / 0.8199 GB, free: 9.715 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.602e-05/0.3744, allocations: 8 kB / 0.82 GB, free: 9.707 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.594e-05/0.3745, allocations: 20 kB / 0.82 GB, free: 9.688 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.204e-05/0.3745, allocations: 11.98 kB / 0.82 GB, free: 9.676 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.3745, allocations: 7.938 kB / 0.82 GB, free: 9.668 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001941/0.3764, allocations: 1.363 MB / 0.8213 GB, free: 8.109 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002439/0.3767, allocations: 211.5 kB / 0.8215 GB, free: 7.883 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.3768, allocations: 35.94 kB / 0.8216 GB, free: 7.848 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006055/0.3774, allocations: 91.78 kB / 0.8216 GB, free: 7.758 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001936/0.3777, allocations: 104.2 kB / 0.8217 GB, free: 7.652 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.756e-05/0.3777, allocations: 31.98 kB / 0.8218 GB, free: 7.621 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008788/0.3786, allocations: 0.6869 MB / 0.8224 GB, free: 6.926 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3786, allocations: 4 kB / 0.8224 GB, free: 6.922 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008914/0.3795, allocations: 290.8 kB / 0.8227 GB, free: 6.637 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,zon1.nOcc,zon1.hys.y,zon2.nOcc,zon2.hys.y,zon3.nOcc,zon3.hys.y,ahu1.hys1.y,winSta1.y) * Number of discrete states: 4 (zon3.hys.y,zon2.hys.y,zon1.hys.y,ahu1.hys1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.003019/0.3825, allocations: 3.445 MB / 0.8261 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002167/0.3847, allocations: 0.9498 MB / 0.827 GB, free: 2.055 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.3848, allocations: 0 / 0.827 GB, free: 2.055 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001279/0.386, allocations: 0.598 MB / 0.8276 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008835/0.3869, allocations: 164.9 kB / 0.8278 GB, free: 1.297 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005828/0.3928, allocations: 5.961 MB / 0.8336 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007584/0.3936, allocations: 1.217 MB / 0.8348 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006204/0.3942, allocations: 188.2 kB / 0.8349 GB, free: 9.68 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006562/0.3949, allocations: 0.5188 MB / 0.8355 GB, free: 9.16 MB / 0.6544 GB Notification: Performance of SimCode: time 1.953e-06/0.3949, allocations: 0 / 0.8355 GB, free: 9.16 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04159/0.4365, allocations: 19.89 MB / 0.8549 GB, free: 5.641 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004919/0.437, allocations: 239.4 kB / 0.8551 GB, free: 5.359 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.457/2.894, allocations: 0 / 0.8551 GB, free: 5.359 MB / 0.67 GB (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_Validation_OutdoorAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_Validation_OutdoorAirFlow.fmu > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe 2>&1) Environment - environmentSimulation: