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.OutsideAirFlow.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.OutsideAirFlow,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_OutsideAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_OutsideAirFlow",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.001203/0.001203, allocations: 108 kB / 15.61 MB, free: 152 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.001202/0.001202, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.201/1.201, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.564/1.564, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001375/0.001375, allocations: 73.25 kB / 0.6717 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1944, allocations: 114.5 MB / 0.7835 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow): time 0.0028/0.1972, allocations: 1.802 MB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.1984, allocations: 1.139 MB / 0.7864 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.1985, allocations: 4 kB / 0.7864 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001906/0.1987, allocations: 67.27 kB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001323/0.1989, allocations: 59.28 kB / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.1991, allocations: 143.8 kB / 0.7867 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003823/0.1995, allocations: 488.2 kB / 0.7871 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003833/0.1999, allocations: 268.7 kB / 0.7874 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.2001, allocations: 179.3 kB / 0.7876 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.2003, allocations: 206.9 kB / 0.7878 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.534e-05/0.2003, allocations: 52 kB / 0.7878 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.496e-05/0.2004, allocations: 52 kB / 0.7879 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.765e-05/0.2005, allocations: 111.6 kB / 0.788 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.2006, allocations: 226.7 kB / 0.7882 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004776/0.2011, allocations: 0.6464 MB / 0.7888 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2011, allocations: 0 / 0.7888 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2011, allocations: 0 / 0.7888 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.2012, allocations: 4 kB / 0.7888 GB, free: 7.891 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.00104/0.2022, allocations: 0.7368 MB / 0.7895 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.2022, allocations: 12.03 kB / 0.7896 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.733e-05/0.2023, allocations: 86.66 kB / 0.7896 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.338e-05/0.2024, allocations: 52.28 kB / 0.7897 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003624/0.2028, allocations: 352.4 kB / 0.79 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.217e-05/0.2028, allocations: 33.38 kB / 0.7901 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.479e-05/0.2029, allocations: 44.31 kB / 0.7901 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000666/0.2035, allocations: 382.8 kB / 0.7905 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.2036, allocations: 0 / 0.7905 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/0.2036, allocations: 23.98 kB / 0.7905 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.2036, allocations: 12 kB / 0.7905 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007534/0.2044, allocations: 319.8 kB / 0.7908 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001719/0.2061, allocations: 1.349 MB / 0.7921 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007247/0.2068, allocations: 311.5 kB / 0.7924 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002796/0.2071, allocations: 100.8 kB / 0.7925 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.2071, allocations: 0 / 0.7925 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.2072, allocations: 38.5 kB / 0.7925 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=17): time 1.002e-06/0.2072, allocations: 4 kB / 0.7926 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17): time 0.0008909/0.2081, allocations: 315.4 kB / 0.7929 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.2081, allocations: 55.41 kB / 0.7929 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003796/0.2085, allocations: 429.8 kB / 0.7933 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.2085, allocations: 29.7 kB / 0.7933 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.2087, allocations: 252.3 kB / 0.7936 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/0.2087, allocations: 55.19 kB / 0.7936 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.877e-05/0.2088, allocations: 57.7 kB / 0.7937 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.2089, allocations: 350.7 kB / 0.794 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002829/0.2092, allocations: 95.92 kB / 0.7941 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003329/0.2096, allocations: 195.1 kB / 0.7943 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005445/0.2101, allocations: 247.9 kB / 0.7945 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.2101, allocations: 4 kB / 0.7945 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006854/0.2108, allocations: 317.2 kB / 0.7948 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.2109, allocations: 11.98 kB / 0.7949 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2109, allocations: 8 kB / 0.7949 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.2109, allocations: 4 kB / 0.7949 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.2111, allocations: 55.91 kB / 0.7949 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.2111, allocations: 11.92 kB / 0.7949 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.2114, allocations: 55.56 kB / 0.795 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.2114, allocations: 8 kB / 0.795 GB, free: 1.195 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 11 (opeMod.y,outAirSet_SinZon_noOccSen.occMod.y,outAirSet_SinZon_noOccSen.occSen.y,outAirSet_SinZon.occMod.y,outAirSet_SinZon.occSen.y,outAirSet_SinZon.intEqu1.y,outAirSet_SinZon_noOccSen.intEqu1.y,outAirSet_SinZon_noOccSen.hys.y,$PRE.outAirSet_SinZon_noOccSen.hys.y,outAirSet_SinZon.hys.y,$PRE.outAirSet_SinZon.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.000175/0.2116, allocations: 174.3 kB / 0.7952 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.5e-05/0.2117, allocations: 43.42 kB / 0.7952 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.435e-05/0.2117, allocations: 39.75 kB / 0.7952 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2117, allocations: 0 / 0.7952 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2117, allocations: 0 / 0.7952 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2118, allocations: 0 / 0.7952 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.2128, allocations: 0.7012 MB / 0.7959 GB, free: 180 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.2128, allocations: 0 / 0.7959 GB, free: 180 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/0.213, allocations: 39.91 kB / 0.796 GB, free: 140 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.213, allocations: 0 / 0.796 GB, free: 140 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.213, allocations: 0 / 0.796 GB, free: 140 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.213, allocations: 11.94 kB / 0.796 GB, free: 128 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.213, allocations: 0 / 0.796 GB, free: 128 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006103/0.2136, allocations: 337.6 kB / 0.7963 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.05e-05/0.2137, allocations: 124.6 kB / 0.7964 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.804e-05/0.2137, allocations: 4 kB / 0.7964 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.214, allocations: 35.89 kB / 0.7965 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.836e-05/0.214, allocations: 19.97 kB / 0.7965 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.2141, allocations: 11.94 kB / 0.7965 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002609/0.2143, allocations: 287.1 kB / 0.7968 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2143, allocations: 7.938 kB / 0.7968 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002947/0.2146, allocations: 67.75 kB / 0.7968 GB, free: 15.22 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (outAirSet_SinZon.hys.y,outAirSet_SinZon_noOccSen.hys.y) * Number of discrete states: 2 (outAirSet_SinZon_noOccSen.hys.y,outAirSet_SinZon.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0008591/0.2155, allocations: 0.8875 MB / 0.7977 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006354/0.2161, allocations: 230.3 kB / 0.7979 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2161, allocations: 0.625 kB / 0.7979 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002784/0.2164, allocations: 111 kB / 0.798 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.2168, allocations: 40.55 kB / 0.7981 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003966/0.2207, allocations: 3.254 MB / 0.8012 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.221, allocations: 0.799 MB / 0.802 GB, free: 9.711 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00012/0.2212, allocations: 38.95 kB / 0.8021 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.2213, allocations: 135.4 kB / 0.8022 GB, free: 9.543 MB / 0.6231 GB Notification: Performance of SimCode: time 2.51e-07/0.2213, allocations: 4 kB / 0.8022 GB, free: 9.539 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.74/4.962, allocations: 6.162 MB / 0.8082 GB, free: 3.578 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/16.27, allocations: 15.75 kB / 0.8082 GB, free: 3.566 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_OutsideAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_OutsideAirFlow.fmu > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe 2>&1)