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.000759/0.000759, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0008859/0.0008862, allocations: 168.7 kB / 15.95 MB, free: 204 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.185/1.185, 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 1.551/1.551, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.000455/0.000455, allocations: 17.28 kB / 0.6739 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1903, allocations: 116.3 MB / 0.7875 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.002105/0.1924, allocations: 1.753 MB / 0.7892 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.1938, allocations: 1.02 MB / 0.7902 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.871e-05/0.1939, allocations: 4 kB / 0.7902 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002648/0.1941, allocations: 83.69 kB / 0.7902 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001874/0.1943, allocations: 75.67 kB / 0.7903 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.1946, allocations: 119.8 kB / 0.7904 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002592/0.1949, allocations: 291.8 kB / 0.7907 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.1951, allocations: 97.88 kB / 0.7908 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.1952, allocations: 95.5 kB / 0.7909 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.1953, allocations: 111.5 kB / 0.791 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/0.1953, allocations: 8 kB / 0.791 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.861e-05/0.1955, allocations: 51.95 kB / 0.7911 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.054e-05/0.1955, allocations: 59.75 kB / 0.7911 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.158e-05/0.1956, allocations: 73.52 kB / 0.7912 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002874/0.1959, allocations: 367.2 kB / 0.7915 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1959, allocations: 0 / 0.7915 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1959, allocations: 0 / 0.7915 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.1959, allocations: 0 / 0.7915 GB, free: 7.59 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.0007217/0.1966, allocations: 0.5915 MB / 0.7921 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.1967, allocations: 12.02 kB / 0.7921 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.826e-05/0.1967, allocations: 54.5 kB / 0.7922 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.657e-05/0.1968, allocations: 35.62 kB / 0.7922 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003755/0.1972, allocations: 331 kB / 0.7925 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.1972, allocations: 16 kB / 0.7925 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.1972, allocations: 16 kB / 0.7926 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002883/0.1975, allocations: 182 kB / 0.7927 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.1975, allocations: 0 / 0.7927 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.889e-05/0.1976, allocations: 11.95 kB / 0.7927 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1976, allocations: 4 kB / 0.7927 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002244/0.1978, allocations: 135.7 kB / 0.7929 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008596/0.1987, allocations: 0.6795 MB / 0.7935 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003459/0.199, allocations: 190.9 kB / 0.7937 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.1992, allocations: 76.7 kB / 0.7938 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.1992, allocations: 11.94 kB / 0.7938 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001997/0.1994, allocations: 126.4 kB / 0.7939 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.392e-06/0.1994, allocations: 0 / 0.7939 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0004124/0.1998, allocations: 245.2 kB / 0.7942 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.1999, allocations: 51.41 kB / 0.7942 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003193/0.2002, allocations: 384.3 kB / 0.7946 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.2002, allocations: 33.7 kB / 0.7946 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.729e-05/0.2003, allocations: 172.4 kB / 0.7948 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.2004, allocations: 47.44 kB / 0.7948 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.307e-05/0.2004, allocations: 7.938 kB / 0.7948 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.75e-05/0.2005, allocations: 342.8 kB / 0.7952 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.2006, allocations: 91.95 kB / 0.7952 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.2008, allocations: 136.2 kB / 0.7954 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.201, allocations: 79.98 kB / 0.7954 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.201, allocations: 0 / 0.7954 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003763/0.2014, allocations: 278.2 kB / 0.7957 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.2014, allocations: 12.03 kB / 0.7957 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.2014, allocations: 0 / 0.7957 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.2014, allocations: 0 / 0.7957 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.2016, allocations: 43.91 kB / 0.7958 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.2016, allocations: 4 kB / 0.7958 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.2017, allocations: 35.83 kB / 0.7958 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.737e-05/0.2018, allocations: 15.98 kB / 0.7958 GB, free: 2.961 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 ($whenCondition1,$PRE.uHeaCoo.tab.nextTimeEvent,zonSta.yZonSta,zonSta.booToIntHea.y,zonSta.booToIntCoo.y,zonSta.isDea.y,zonSta.booToIntDea.y,$PRE.zonSta.hysUHea.y,zonSta.hysUHea.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUCoo.y,zonSta.isCoo.y,$PRE.zonSta.hysU.y,zonSta.hysU.y,zonSta.notHea.y,zonSta.addInt.y,uHeaCoo.tab.nextTimeEvent,$PRE.uHeaCoo.tab.nextTimeEventScaled,uHeaCoo.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001354/0.2019, allocations: 171.5 kB / 0.796 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.285e-05/0.2019, allocations: 27.67 kB / 0.796 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.89e-05/0.202, allocations: 42.3 kB / 0.796 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.202, allocations: 0 / 0.796 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.202, allocations: 4 kB / 0.7961 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.202, allocations: 0 / 0.7961 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002473/0.2023, allocations: 333.3 kB / 0.7964 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.2023, allocations: 8 kB / 0.7964 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.146e-05/0.2024, allocations: 12 kB / 0.7964 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2024, allocations: 0 / 0.7964 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.2024, allocations: 15.94 kB / 0.7964 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.2024, allocations: 0 / 0.7964 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2024, allocations: 0 / 0.7964 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002869/0.2027, allocations: 215.4 kB / 0.7966 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.754e-05/0.2028, allocations: 108.8 kB / 0.7967 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.587e-05/0.2028, allocations: 12 kB / 0.7967 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.2029, allocations: 23.94 kB / 0.7967 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.43e-05/0.203, allocations: 31.94 kB / 0.7968 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.203, allocations: 8 kB / 0.7968 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001956/0.2032, allocations: 235 kB / 0.797 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2032, allocations: 0 / 0.797 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002529/0.2035, allocations: 63.84 kB / 0.7971 GB, free: 1.582 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 (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.001207/0.2047, allocations: 1.087 MB / 0.7981 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003192/0.205, allocations: 191.9 kB / 0.7983 GB, free: 452 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.572e-06/0.2051, allocations: 4 kB / 0.7983 GB, free: 448 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.2052, allocations: 79.91 kB / 0.7984 GB, free: 368 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.2055, allocations: 47.02 kB / 0.7984 GB, free: 324 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/0.2077, allocations: 1.767 MB / 0.8002 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.2079, allocations: 0.7752 MB / 0.8009 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001114/0.2081, allocations: 42.27 kB / 0.801 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.2082, allocations: 99.39 kB / 0.8011 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.2082, allocations: 0 / 0.8011 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01569/0.2239, allocations: 6.226 MB / 0.8071 GB, free: 7.539 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002505/0.2242, allocations: 261.5 kB / 0.8074 GB, free: 7.195 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.683/1.907, allocations: 2.656 kB / 0.8074 GB, free: 7.195 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/linux/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) Environment - environmentSimulation: