Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.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.SingleZone.VAV.SetPoints.Validation.ExhaustDamper,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper",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.001036/0.001036, allocations: 99.78 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.001268/0.001268, 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 3.2.3+maint.om/package.mo): time 1.91/1.91, allocations: 205.4 MB / 222.1 MB, free: 5.656 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 2.14/2.14, allocations: 292.6 MB / 0.5497 GB, free: 14.64 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.0007631/0.0007635, allocations: 10.34 kB / 0.6737 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3341, allocations: 116.3 MB / 0.7873 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper): time 0.001298/0.3355, allocations: 0.6271 MB / 0.7879 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.3366, allocations: 0.8944 MB / 0.7888 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.789e-05/0.3367, allocations: 4 kB / 0.7888 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.801e-05/0.3368, allocations: 7.922 kB / 0.7888 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.456e-05/0.3369, allocations: 19.91 kB / 0.7888 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001705/0.337, allocations: 35.97 kB / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.3372, allocations: 79.84 kB / 0.7889 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.3374, allocations: 49.52 kB / 0.789 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.659e-05/0.3375, allocations: 27.86 kB / 0.789 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.748e-05/0.3376, allocations: 55.69 kB / 0.7891 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.3376, allocations: 4 kB / 0.7891 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.819e-05/0.3376, allocations: 4 kB / 0.7891 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.433e-05/0.3376, allocations: 15.92 kB / 0.7891 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.675e-05/0.3377, allocations: 45.64 kB / 0.7891 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.3379, allocations: 159.8 kB / 0.7893 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.3379, allocations: 4 kB / 0.7893 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.053e-06/0.3379, allocations: 3.938 kB / 0.7893 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.3379, allocations: 0 / 0.7893 GB, free: 9.777 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006664/0.3386, allocations: 431 kB / 0.7897 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.3386, allocations: 8.031 kB / 0.7897 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.736e-05/0.3387, allocations: 50.55 kB / 0.7898 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.258e-05/0.3387, allocations: 11.91 kB / 0.7898 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003281/0.3391, allocations: 223 kB / 0.79 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.3391, allocations: 8.234 kB / 0.79 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.3391, allocations: 12 kB / 0.79 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003144/0.3395, allocations: 139.4 kB / 0.7901 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3395, allocations: 4 kB / 0.7901 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.3395, allocations: 8 kB / 0.7901 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3395, allocations: 0 / 0.7901 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002945/0.3398, allocations: 116.6 kB / 0.7903 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007932/0.3406, allocations: 484.7 kB / 0.7907 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.3409, allocations: 90.55 kB / 0.7908 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.3409, allocations: 4 kB / 0.7908 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.341, allocations: 38.56 kB / 0.7908 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.341, allocations: 0 / 0.7908 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004657/0.3414, allocations: 153.4 kB / 0.791 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.3415, allocations: 51.41 kB / 0.791 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.3417, allocations: 183.2 kB / 0.7912 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.3418, allocations: 29.64 kB / 0.7912 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.399e-05/0.3419, allocations: 119.9 kB / 0.7914 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.3419, allocations: 19.91 kB / 0.7914 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.3419, allocations: 0 / 0.7914 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.3421, allocations: 330.8 kB / 0.7917 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.3422, allocations: 39.97 kB / 0.7917 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.3423, allocations: 62.53 kB / 0.7918 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.3425, allocations: 44.02 kB / 0.7918 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3425, allocations: 192 / 0.7918 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003152/0.3428, allocations: 149.4 kB / 0.792 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.3428, allocations: 4 kB / 0.792 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.3428, allocations: 0 / 0.792 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.3429, allocations: 7.938 kB / 0.792 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.343, allocations: 19.98 kB / 0.792 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.343, allocations: 0 / 0.792 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.979e-05/0.3431, allocations: 27.77 kB / 0.792 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.3431, allocations: 7.953 kB / 0.792 GB, free: 6.723 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.exhDamPos.greThr.y,exhDamPos.greThr.y,exhDamPos.and2.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001156/0.3433, allocations: 125.8 kB / 0.7922 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.132e-05/0.3433, allocations: 7.906 kB / 0.7922 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003465/0.3436, allocations: 142.9 kB / 0.7923 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.3437, allocations: 4 kB / 0.7923 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3437, allocations: 0 / 0.7923 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3437, allocations: 0 / 0.7923 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005491/0.3442, allocations: 431.2 kB / 0.7927 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3442, allocations: 4.031 kB / 0.7927 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.831e-05/0.3443, allocations: 23.98 kB / 0.7927 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3443, allocations: 0 / 0.7927 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.3444, allocations: 0 / 0.7927 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3444, allocations: 0 / 0.7927 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.3444, allocations: 4 kB / 0.7927 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003438/0.3447, allocations: 246.2 kB / 0.793 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.667e-05/0.3448, allocations: 92.95 kB / 0.7931 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.3448, allocations: 3.984 kB / 0.7931 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.345, allocations: 20 kB / 0.7931 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.243e-05/0.345, allocations: 15.92 kB / 0.7931 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.345, allocations: 8 kB / 0.7931 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000117/0.3452, allocations: 141.1 kB / 0.7932 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3452, allocations: 0 / 0.7932 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002486/0.3454, allocations: 23.91 kB / 0.7933 GB, free: 5.332 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (exhDamPos.greThr.y,exhDamPos.and2.y) * Number of discrete states: 1 (exhDamPos.greThr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0006897/0.3461, allocations: 0.8461 MB / 0.7941 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002902/0.3464, allocations: 91.95 kB / 0.7942 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3464, allocations: 288 / 0.7942 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.3466, allocations: 56.03 kB / 0.7942 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.3469, allocations: 28.06 kB / 0.7943 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.3484, allocations: 0.9967 MB / 0.7952 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.3487, allocations: 0.7126 MB / 0.7959 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.872e-05/0.3488, allocations: 12.64 kB / 0.7959 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.123e-05/0.3489, allocations: 39.42 kB / 0.796 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.3489, allocations: 0 / 0.796 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01528/0.3642, allocations: 2.852 MB / 0.7988 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002321/0.3645, allocations: 232.5 kB / 0.799 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.028/2.392, allocations: 0 / 0.799 GB, free: 15.58 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_ExhaustDamper.fmu > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe 2>&1) Environment - environmentSimulation: