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.Validation.ZoneState.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.Validation.ZoneState,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState",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.00106/0.00106, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001069/0.001069, allocations: 186.9 kB / 16.25 MB, free: 6.629 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.266/1.266, allocations: 205.1 MB / 222.1 MB, free: 4.672 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.623/1.623, allocations: 292.3 MB / 0.5486 GB, free: 13.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.001421/0.001421, allocations: 64.31 kB / 0.6712 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1798, allocations: 114.6 MB / 0.783 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.003447/0.1832, allocations: 2.16 MB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001706/0.185, allocations: 1.085 MB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000196/0.1852, allocations: 0 / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003576/0.1856, allocations: 79.7 kB / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002971/0.1859, allocations: 79.67 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003888/0.1863, allocations: 151.8 kB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003788/0.1867, allocations: 331.8 kB / 0.7868 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000249/0.1869, allocations: 122.4 kB / 0.7869 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.1871, allocations: 139.4 kB / 0.7871 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.1873, allocations: 147.4 kB / 0.7872 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.126e-05/0.1874, allocations: 28 kB / 0.7872 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.1875, allocations: 71.97 kB / 0.7873 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.468e-05/0.1876, allocations: 95.67 kB / 0.7874 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.1878, allocations: 147.1 kB / 0.7875 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004665/0.1883, allocations: 462.7 kB / 0.788 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1883, allocations: 4 kB / 0.788 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1883, allocations: 0 / 0.788 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.199e-05/0.1883, allocations: 0 / 0.788 GB, free: 8.637 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001149/0.1895, allocations: 0.6266 MB / 0.7886 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.1895, allocations: 12.03 kB / 0.7886 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.79e-05/0.1896, allocations: 50.73 kB / 0.7886 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.568e-05/0.1897, allocations: 36.47 kB / 0.7887 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005215/0.1902, allocations: 356.1 kB / 0.789 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/0.1903, allocations: 20.12 kB / 0.789 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/0.1903, allocations: 16 kB / 0.7891 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003809/0.1907, allocations: 182 kB / 0.7892 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1907, allocations: 0 / 0.7892 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.1907, allocations: 11.98 kB / 0.7892 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.1908, allocations: 4 kB / 0.7892 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002867/0.191, allocations: 139.7 kB / 0.7894 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.1923, allocations: 0.6716 MB / 0.79 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004664/0.1927, allocations: 186.9 kB / 0.7902 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.1929, allocations: 72.83 kB / 0.7903 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.73e-05/0.1929, allocations: 4 kB / 0.7903 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002502/0.1932, allocations: 127.3 kB / 0.7904 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.834e-06/0.1932, allocations: 3.938 kB / 0.7904 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0005303/0.1937, allocations: 247.7 kB / 0.7906 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.1938, allocations: 59.28 kB / 0.7907 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003844/0.1942, allocations: 380.4 kB / 0.7911 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.1942, allocations: 29.7 kB / 0.7911 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.1943, allocations: 180.4 kB / 0.7913 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.917e-05/0.1944, allocations: 47.36 kB / 0.7913 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.1945, allocations: 61.69 kB / 0.7914 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.1946, allocations: 338.8 kB / 0.7917 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.1948, allocations: 95.95 kB / 0.7918 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.195, allocations: 144.2 kB / 0.7919 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002442/0.1953, allocations: 150.7 kB / 0.7921 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.1953, allocations: 0 / 0.7921 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004508/0.1957, allocations: 285.1 kB / 0.7923 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.1958, allocations: 4 kB / 0.7923 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.1958, allocations: 0 / 0.7923 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1958, allocations: 4 kB / 0.7923 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.196, allocations: 47.94 kB / 0.7924 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.196, allocations: 3.938 kB / 0.7924 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.1962, allocations: 31.83 kB / 0.7924 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.858e-05/0.1962, allocations: 7.984 kB / 0.7924 GB, free: 3.816 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: 19 ($PRE.uHeaCoo.tab.nextTimeEvent,$whenCondition1,uHeaCoo.tab.nextTimeEventScaled,$PRE.uHeaCoo.tab.nextTimeEventScaled,uHeaCoo.tab.nextTimeEvent,zonSta.addInt.y,zonSta.notHea.y,zonSta.hysU.y,$PRE.zonSta.hysU.y,zonSta.isCoo.y,zonSta.hysUCoo.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUHea.y,$PRE.zonSta.hysUHea.y,zonSta.booToIntDea.y,zonSta.isDea.y,zonSta.booToIntCoo.y,zonSta.booToIntHea.y,zonSta.yZonSta) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001699/0.1964, allocations: 176.2 kB / 0.7926 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.455e-05/0.1964, allocations: 27.62 kB / 0.7926 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.926e-05/0.1965, allocations: 38.36 kB / 0.7927 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1965, allocations: 4 kB / 0.7927 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.1965, allocations: 3.938 kB / 0.7927 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.1965, allocations: 0 / 0.7927 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003148/0.1969, allocations: 337.4 kB / 0.793 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.1969, allocations: 0 / 0.793 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.797e-05/0.197, allocations: 15.94 kB / 0.793 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.197, allocations: 4 kB / 0.793 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.853e-05/0.197, allocations: 7.984 kB / 0.793 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.197, allocations: 0 / 0.793 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.197, allocations: 7.938 kB / 0.793 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003489/0.1974, allocations: 215 kB / 0.7932 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.316e-05/0.1974, allocations: 104.8 kB / 0.7933 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.487e-05/0.1975, allocations: 11.98 kB / 0.7933 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.1976, allocations: 11.98 kB / 0.7934 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.706e-05/0.1977, allocations: 35.89 kB / 0.7934 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.1977, allocations: 4 kB / 0.7934 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002334/0.198, allocations: 243 kB / 0.7936 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.198, allocations: 4 kB / 0.7936 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002939/0.1983, allocations: 67.78 kB / 0.7937 GB, free: 2.43 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,zonSta.yZonSta,zonSta.booToIntHea.y,zonSta.booToIntCoo.y,zonSta.isDea.y,zonSta.booToIntDea.y,zonSta.hysUHea.y,zonSta.hysUCoo.y,zonSta.isCoo.y,zonSta.hysU.y,zonSta.notHea.y,zonSta.addInt.y,uHeaCoo.tab.nextTimeEvent,uHeaCoo.tab.nextTimeEventScaled) * Number of discrete states: 5 (uHeaCoo.tab.nextTimeEventScaled,zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y,uHeaCoo.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001481/0.1998, allocations: 1.073 MB / 0.7947 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004094/0.2002, allocations: 199.8 kB / 0.7949 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2002, allocations: 0 / 0.7949 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.2004, allocations: 83.91 kB / 0.795 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.2007, allocations: 68.06 kB / 0.7951 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003434/0.2042, allocations: 2.805 MB / 0.7978 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.2045, allocations: 0.783 MB / 0.7986 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001472/0.2047, allocations: 50.25 kB / 0.7986 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.2048, allocations: 99.39 kB / 0.7987 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of SimCode: time 4.41e-07/0.2048, allocations: 0 / 0.7987 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01683/0.2217, allocations: 6.086 MB / 0.8047 GB, free: 7.406 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000276/0.222, allocations: 277.7 kB / 0.8049 GB, free: 7.023 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/2.008, allocations: 10.47 kB / 0.8049 GB, free: 7.02 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState.fmu > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1)