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.001683/0.001683, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002102/0.002102, allocations: 197.5 kB / 16.64 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.542/1.542, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.787/1.787, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001789/0.00179, allocations: 75.95 kB / 0.6718 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.272, allocations: 114.6 MB / 0.7837 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper): time 0.003744/0.2759, allocations: 0.946 MB / 0.7846 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001857/0.2778, allocations: 0.8954 MB / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002078/0.278, allocations: 4 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.206e-05/0.2781, allocations: 15.8 kB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.2782, allocations: 15.81 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.2785, allocations: 59.94 kB / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.2787, allocations: 147.7 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/0.2789, allocations: 57.77 kB / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.791e-05/0.279, allocations: 63.72 kB / 0.7859 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.897e-05/0.2791, allocations: 59.69 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.207e-05/0.2791, allocations: 16 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.553e-05/0.2792, allocations: 12 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.75e-05/0.2792, allocations: 35.91 kB / 0.786 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.723e-05/0.2793, allocations: 67.61 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.2795, allocations: 203.5 kB / 0.7862 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2795, allocations: 0 / 0.7862 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2795, allocations: 0 / 0.7862 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.2795, allocations: 0 / 0.7862 GB, free: 10.6 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.0006484/0.2802, allocations: 451.2 kB / 0.7867 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.2803, allocations: 12.03 kB / 0.7867 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.881e-05/0.2803, allocations: 46.69 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.615e-05/0.2804, allocations: 20.73 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003661/0.2807, allocations: 224.4 kB / 0.787 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.2808, allocations: 12.55 kB / 0.787 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.2808, allocations: 16.38 kB / 0.787 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/0.2811, allocations: 131.8 kB / 0.7871 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.2811, allocations: 4 kB / 0.7871 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.2812, allocations: 4 kB / 0.7871 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.2812, allocations: 7.984 kB / 0.7871 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002714/0.2814, allocations: 97.81 kB / 0.7872 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007744/0.2822, allocations: 492.5 kB / 0.7877 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.2824, allocations: 82.52 kB / 0.7878 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.2826, allocations: 36.88 kB / 0.7878 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.2826, allocations: 4 kB / 0.7878 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.2826, allocations: 38.5 kB / 0.7878 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.2826, allocations: 0 / 0.7878 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004475/0.2831, allocations: 133.5 kB / 0.788 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.2831, allocations: 51.41 kB / 0.788 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.2833, allocations: 187.2 kB / 0.7882 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.2834, allocations: 29.7 kB / 0.7882 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.169e-05/0.2834, allocations: 115.9 kB / 0.7883 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.2835, allocations: 27.8 kB / 0.7884 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.368e-05/0.2835, allocations: 25.7 kB / 0.7884 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.2837, allocations: 326.8 kB / 0.7887 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.2838, allocations: 31.97 kB / 0.7887 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.2839, allocations: 62.48 kB / 0.7888 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.2842, allocations: 77.91 kB / 0.7889 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.2842, allocations: 3.938 kB / 0.7889 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002856/0.2845, allocations: 137.3 kB / 0.789 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.2845, allocations: 4 kB / 0.789 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.2845, allocations: 0 / 0.789 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.2845, allocations: 8.031 kB / 0.789 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.2846, allocations: 19.92 kB / 0.789 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.2847, allocations: 0 / 0.789 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.419e-05/0.2848, allocations: 19.92 kB / 0.789 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.2848, allocations: 0 / 0.789 GB, free: 7.469 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 (exhDamPos.and2.y,exhDamPos.greThr.y,$PRE.exhDamPos.greThr.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 0.0001499/0.2849, allocations: 126.8 kB / 0.7892 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.083e-05/0.285, allocations: 15.81 kB / 0.7892 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003254/0.2853, allocations: 130.9 kB / 0.7893 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2853, allocations: 0 / 0.7893 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.2853, allocations: 0 / 0.7893 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2853, allocations: 0 / 0.7893 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000555/0.2859, allocations: 431.1 kB / 0.7897 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2859, allocations: 0 / 0.7897 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.686e-05/0.286, allocations: 20.02 kB / 0.7897 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.286, allocations: 0 / 0.7897 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.286, allocations: 0 / 0.7897 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.286, allocations: 4 kB / 0.7897 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.286, allocations: 0 / 0.7897 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003106/0.2864, allocations: 216.1 kB / 0.7899 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.883e-05/0.2864, allocations: 100.9 kB / 0.79 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.2865, allocations: 0 / 0.79 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.2866, allocations: 15.98 kB / 0.7901 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.2866, allocations: 11.97 kB / 0.7901 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.2867, allocations: 11.94 kB / 0.7901 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001128/0.2868, allocations: 140.3 kB / 0.7902 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2868, allocations: 0 / 0.7902 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002523/0.287, allocations: 20 kB / 0.7902 GB, free: 6.133 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 (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.0006471/0.2877, allocations: 0.7643 MB / 0.791 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003242/0.288, allocations: 92.03 kB / 0.7911 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.288, allocations: 192 / 0.7911 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.2882, allocations: 43.91 kB / 0.7911 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.2885, allocations: 34.91 kB / 0.7911 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.2907, allocations: 1.773 MB / 0.7929 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.291, allocations: 0.7084 MB / 0.7936 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.516e-05/0.291, allocations: 12.64 kB / 0.7936 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.701e-05/0.2911, allocations: 43.42 kB / 0.7936 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of SimCode: time 2.184e-06/0.2911, allocations: 0 / 0.7936 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01982/0.311, allocations: 3.209 MB / 0.7968 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.772/8.083, allocations: 19.02 kB / 0.7968 GB, free: 15.5 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/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)