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.0009331/0.0009331, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006359/0.006359, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.265/1.265, allocations: 205.4 MB / 222.4 MB, free: 5.781 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.625/1.625, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0004711/0.0004711, allocations: 18.95 kB / 0.6745 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1956, allocations: 116.3 MB / 0.7881 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.002208/0.1979, allocations: 1.795 MB / 0.7898 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00147/0.1994, allocations: 1.062 MB / 0.7908 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.723e-05/0.1995, allocations: 3.938 kB / 0.7908 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002918/0.1998, allocations: 83.7 kB / 0.7909 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002015/0.2, allocations: 79.67 kB / 0.791 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002994/0.2003, allocations: 150.9 kB / 0.7911 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000303/0.2006, allocations: 307.8 kB / 0.7914 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002048/0.2008, allocations: 107.6 kB / 0.7915 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.201, allocations: 103.4 kB / 0.7916 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.2011, allocations: 119.3 kB / 0.7918 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.67e-05/0.2011, allocations: 8 kB / 0.7918 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.2012, allocations: 55.95 kB / 0.7918 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.131e-05/0.2013, allocations: 59.77 kB / 0.7919 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.2014, allocations: 148.8 kB / 0.792 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003719/0.2018, allocations: 438.6 kB / 0.7924 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2018, allocations: 8 kB / 0.7924 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.714e-06/0.2018, allocations: 0 / 0.7924 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.2018, allocations: 0 / 0.7924 GB, free: 6.883 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.0008097/0.2027, allocations: 0.5761 MB / 0.793 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.2027, allocations: 8.031 kB / 0.793 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.196e-05/0.2028, allocations: 50.73 kB / 0.7931 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.796e-05/0.2028, allocations: 32.56 kB / 0.7931 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004029/0.2032, allocations: 352.1 kB / 0.7934 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.2033, allocations: 20.06 kB / 0.7934 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.2033, allocations: 27.94 kB / 0.7935 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003113/0.2036, allocations: 178.1 kB / 0.7936 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.2036, allocations: 3.984 kB / 0.7936 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.2037, allocations: 8 kB / 0.7937 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.2037, allocations: 7.984 kB / 0.7937 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002418/0.2039, allocations: 131.7 kB / 0.7938 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009623/0.2049, allocations: 0.6833 MB / 0.7945 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003865/0.2053, allocations: 197.8 kB / 0.7946 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.2054, allocations: 64.84 kB / 0.7947 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.2055, allocations: 7.984 kB / 0.7947 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002185/0.2057, allocations: 135.2 kB / 0.7948 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.493e-06/0.2057, allocations: 0 / 0.7948 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.000464/0.2062, allocations: 241.2 kB / 0.7951 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.2062, allocations: 55.34 kB / 0.7951 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003498/0.2066, allocations: 372.4 kB / 0.7955 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.2066, allocations: 37.7 kB / 0.7955 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.2067, allocations: 172.3 kB / 0.7957 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.321e-05/0.2068, allocations: 51.44 kB / 0.7957 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-05/0.2068, allocations: 41.69 kB / 0.7958 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.2069, allocations: 342.8 kB / 0.7961 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.2071, allocations: 91.95 kB / 0.7962 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.2073, allocations: 144.2 kB / 0.7963 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/0.2076, allocations: 150.7 kB / 0.7965 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2076, allocations: 0 / 0.7965 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004109/0.208, allocations: 277.2 kB / 0.7967 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.208, allocations: 14.91 kB / 0.7967 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.208, allocations: 0 / 0.7967 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.208, allocations: 0 / 0.7967 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.2082, allocations: 39.91 kB / 0.7968 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.2082, allocations: 7.938 kB / 0.7968 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.2084, allocations: 43.86 kB / 0.7968 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/0.2084, allocations: 15.98 kB / 0.7968 GB, free: 2.121 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.0001606/0.2086, allocations: 171.5 kB / 0.797 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.2086, allocations: 27.62 kB / 0.797 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.06e-05/0.2087, allocations: 38.36 kB / 0.7971 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2087, allocations: 4 kB / 0.7971 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2087, allocations: 3.938 kB / 0.7971 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2087, allocations: 0 / 0.7971 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002679/0.209, allocations: 333.4 kB / 0.7974 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.209, allocations: 0 / 0.7974 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.615e-05/0.2091, allocations: 16 kB / 0.7974 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2091, allocations: 0 / 0.7974 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.2091, allocations: 11.92 kB / 0.7974 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.2091, allocations: 0 / 0.7974 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2091, allocations: 3.938 kB / 0.7974 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/0.2094, allocations: 224.5 kB / 0.7976 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.146e-05/0.2095, allocations: 100.8 kB / 0.7977 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.857e-05/0.2096, allocations: 8 kB / 0.7977 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.2097, allocations: 19.98 kB / 0.7978 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.587e-05/0.2098, allocations: 35.89 kB / 0.7978 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.2098, allocations: 8 kB / 0.7978 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002172/0.21, allocations: 239 kB / 0.798 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.21, allocations: 0 / 0.798 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002587/0.2103, allocations: 67.83 kB / 0.7981 GB, free: 0.7383 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.001359/0.2116, allocations: 1.077 MB / 0.7991 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003449/0.212, allocations: 195.9 kB / 0.7993 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.212, allocations: 0 / 0.7993 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.2122, allocations: 79.92 kB / 0.7994 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.2125, allocations: 55.64 kB / 0.7995 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003059/0.2155, allocations: 2.82 MB / 0.8022 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.2159, allocations: 0.7752 MB / 0.803 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001106/0.216, allocations: 50.23 kB / 0.803 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.2161, allocations: 103.4 kB / 0.8031 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.2161, allocations: 0 / 0.8031 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01562/0.2318, allocations: 5.706 MB / 0.8087 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002708/0.2321, allocations: 286.8 kB / 0.809 GB, free: 5.734 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.742/1.974, allocations: 0 / 0.809 GB, free: 5.734 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)