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.001075/0.001075, allocations: 101.4 kB / 15.7 MB, free: 28 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.001122/0.001122, allocations: 198.3 kB / 16.64 MB, free: 6.43 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.438/1.438, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.69/1.69, 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.001445/0.001445, allocations: 68.83 kB / 0.6718 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2342, allocations: 114.6 MB / 0.7837 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper): time 0.002505/0.2367, allocations: 0.9498 MB / 0.7846 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.2378, allocations: 0.8915 MB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.583e-05/0.2379, allocations: 4 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.33e-05/0.238, allocations: 15.8 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.241e-05/0.2381, allocations: 11.81 kB / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.2383, allocations: 63.92 kB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.2385, allocations: 143.7 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.2387, allocations: 65.75 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.175e-05/0.2388, allocations: 59.7 kB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.029e-05/0.2388, allocations: 59.7 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.876e-05/0.2389, allocations: 16 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.28e-05/0.2389, allocations: 16 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.621e-05/0.239, allocations: 35.91 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.042e-05/0.239, allocations: 63.61 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.2392, allocations: 207.5 kB / 0.7862 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.2392, allocations: 0 / 0.7862 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2393, allocations: 4 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.2393, allocations: 0 / 0.7862 GB, free: 10.55 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.0006433/0.2399, allocations: 447.2 kB / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.24, allocations: 12.03 kB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.298e-05/0.24, allocations: 42.75 kB / 0.7867 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.2401, allocations: 20.69 kB / 0.7867 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/0.2404, allocations: 227 kB / 0.787 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.2404, allocations: 12.61 kB / 0.787 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.2405, allocations: 16.36 kB / 0.787 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002979/0.2408, allocations: 135.8 kB / 0.7871 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.2408, allocations: 0 / 0.7871 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.2408, allocations: 0 / 0.7871 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.2408, allocations: 4 kB / 0.7871 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002733/0.2411, allocations: 101.8 kB / 0.7872 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007119/0.2418, allocations: 492.5 kB / 0.7877 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.242, allocations: 78.52 kB / 0.7878 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.2422, allocations: 44.88 kB / 0.7878 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.2422, allocations: 7.938 kB / 0.7878 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.2422, allocations: 30.56 kB / 0.7878 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.2422, allocations: 0 / 0.7878 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004498/0.2427, allocations: 141.6 kB / 0.788 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.2427, allocations: 51.41 kB / 0.788 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.2429, allocations: 179.2 kB / 0.7882 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.2429, allocations: 41.69 kB / 0.7882 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.176e-05/0.243, allocations: 111.9 kB / 0.7883 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.2431, allocations: 23.66 kB / 0.7884 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/0.2431, allocations: 25.7 kB / 0.7884 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.2432, allocations: 326.8 kB / 0.7887 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.2434, allocations: 31.98 kB / 0.7887 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.2435, allocations: 58.55 kB / 0.7888 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002264/0.2437, allocations: 81.61 kB / 0.7889 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.2438, allocations: 3.938 kB / 0.7889 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002882/0.2441, allocations: 133.4 kB / 0.789 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.2441, allocations: 8.062 kB / 0.789 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.2441, allocations: 0 / 0.789 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.2441, allocations: 4 kB / 0.789 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.2442, allocations: 19.92 kB / 0.789 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.2443, allocations: 288 / 0.789 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.768e-05/0.2444, allocations: 19.92 kB / 0.789 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.2444, allocations: 4 kB / 0.789 GB, free: 7.434 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 9.939e-05/0.2445, allocations: 131.4 kB / 0.7892 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.2445, allocations: 19.81 kB / 0.7892 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003429/0.2449, allocations: 127.3 kB / 0.7893 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2449, allocations: 0 / 0.7893 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.2449, allocations: 0 / 0.7893 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.2449, allocations: 0 / 0.7893 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005487/0.2455, allocations: 431.2 kB / 0.7897 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2455, allocations: 0 / 0.7897 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.694e-05/0.2456, allocations: 19.92 kB / 0.7897 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2456, allocations: 0 / 0.7897 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.2456, allocations: 4 kB / 0.7897 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.2456, allocations: 0 / 0.7897 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2456, allocations: 0 / 0.7897 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/0.2459, allocations: 220.2 kB / 0.79 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.22e-05/0.246, allocations: 100.8 kB / 0.7901 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.246, allocations: 0 / 0.7901 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.2462, allocations: 11.98 kB / 0.7901 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/0.2462, allocations: 19.91 kB / 0.7901 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.2462, allocations: 11.94 kB / 0.7901 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001095/0.2463, allocations: 140.3 kB / 0.7902 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2464, allocations: 4 kB / 0.7902 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003085/0.2467, allocations: 16 kB / 0.7902 GB, free: 6.086 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.0006449/0.2473, allocations: 0.7483 MB / 0.791 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003212/0.2477, allocations: 91.88 kB / 0.7911 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2477, allocations: 0 / 0.7911 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.2478, allocations: 43.92 kB / 0.7911 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.2482, allocations: 38.69 kB / 0.7911 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002207/0.2504, allocations: 1.774 MB / 0.7929 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.2507, allocations: 0.7084 MB / 0.7936 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.905e-05/0.2508, allocations: 12.64 kB / 0.7936 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.565e-05/0.2509, allocations: 43.42 kB / 0.7936 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of SimCode: time 3.3e-07/0.2509, allocations: 4 kB / 0.7936 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02005/0.271, allocations: 3.207 MB / 0.7968 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.235/8.506, allocations: 19.11 kB / 0.7968 GB, free: 15.47 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-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)