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: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=0,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=0,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 98.03 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.009472/0.009473, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.854/1.854, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.814/1.814, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0006249/0.0006249, allocations: 12.56 kB / 0.6744 GB, free: 25.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.2992, allocations: 116.3 MB / 0.7879 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.002955/0.3022, allocations: 1.807 MB / 0.7897 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002011/0.3042, allocations: 1.058 MB / 0.7907 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002017/0.3045, allocations: 4 kB / 0.7907 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003921/0.3049, allocations: 83.64 kB / 0.7908 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000333/0.3052, allocations: 83.66 kB / 0.7909 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004553/0.3057, allocations: 147.2 kB / 0.791 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004372/0.3061, allocations: 307.8 kB / 0.7913 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000291/0.3064, allocations: 115.6 kB / 0.7914 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.3066, allocations: 103.4 kB / 0.7915 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002072/0.3069, allocations: 115.3 kB / 0.7916 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.326e-05/0.3069, allocations: 8 kB / 0.7916 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.3071, allocations: 59.95 kB / 0.7917 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.967e-05/0.3072, allocations: 59.75 kB / 0.7918 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001542/0.3074, allocations: 148.8 kB / 0.7919 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005087/0.3079, allocations: 434.7 kB / 0.7923 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3079, allocations: 0 / 0.7923 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.744e-06/0.3079, allocations: 0 / 0.7923 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.481e-05/0.3079, allocations: 3.938 kB / 0.7923 GB, free: 6.992 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.001116/0.309, allocations: 0.5878 MB / 0.7929 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.3091, allocations: 8.031 kB / 0.7929 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.3092, allocations: 36.56 kB / 0.7929 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005024/0.3097, allocations: 340.2 kB / 0.7933 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.154e-05/0.3098, allocations: 16.38 kB / 0.7933 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.362e-05/0.3098, allocations: 23.94 kB / 0.7933 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003613/0.3102, allocations: 186 kB / 0.7935 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.3102, allocations: 7.938 kB / 0.7935 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.3102, allocations: 4 kB / 0.7935 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.3102, allocations: 4 kB / 0.7935 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002625/0.3105, allocations: 135.7 kB / 0.7936 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.3117, allocations: 0.6833 MB / 0.7943 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004303/0.3121, allocations: 190.9 kB / 0.7945 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.3122, allocations: 68.83 kB / 0.7945 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.53e-05/0.3123, allocations: 11.98 kB / 0.7945 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002527/0.3126, allocations: 123.3 kB / 0.7947 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.814e-06/0.3126, allocations: 0 / 0.7947 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0005131/0.3131, allocations: 248.2 kB / 0.7949 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.3131, allocations: 55.41 kB / 0.795 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004028/0.3135, allocations: 384.4 kB / 0.7953 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.3136, allocations: 29.7 kB / 0.7953 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.3137, allocations: 180.3 kB / 0.7955 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.907e-05/0.3138, allocations: 47.44 kB / 0.7956 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.679e-05/0.3139, allocations: 41.69 kB / 0.7956 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.314, allocations: 338.8 kB / 0.7959 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.3142, allocations: 91.95 kB / 0.796 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.3144, allocations: 140.2 kB / 0.7962 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002519/0.3146, allocations: 154.6 kB / 0.7963 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3147, allocations: 0 / 0.7963 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004765/0.3151, allocations: 281.2 kB / 0.7966 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3152, allocations: 4 kB / 0.7966 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.3152, allocations: 4 kB / 0.7966 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.3152, allocations: 0 / 0.7966 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.3154, allocations: 35.92 kB / 0.7966 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.3154, allocations: 3.938 kB / 0.7966 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/0.3156, allocations: 51.78 kB / 0.7967 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/0.3156, allocations: 15.98 kB / 0.7967 GB, free: 2.285 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.0001867/0.3158, allocations: 163.6 kB / 0.7968 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/0.3159, allocations: 31.72 kB / 0.7969 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.977e-05/0.3159, allocations: 34.36 kB / 0.7969 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3159, allocations: 0 / 0.7969 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.316, allocations: 7.875 kB / 0.7969 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/0.316, allocations: 7.984 kB / 0.7969 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003113/0.3163, allocations: 333.3 kB / 0.7972 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3163, allocations: 3.938 kB / 0.7972 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.597e-05/0.3164, allocations: 19.98 kB / 0.7973 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.3164, allocations: 0 / 0.7973 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.3164, allocations: 0 / 0.7973 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.3164, allocations: 4 kB / 0.7973 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3164, allocations: 7.938 kB / 0.7973 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003457/0.3168, allocations: 220.5 kB / 0.7975 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.052e-05/0.3169, allocations: 104.8 kB / 0.7976 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.183e-05/0.3169, allocations: 8 kB / 0.7976 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.317, allocations: 15.98 kB / 0.7976 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.424e-05/0.3171, allocations: 39.89 kB / 0.7976 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.3172, allocations: 11.98 kB / 0.7976 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002349/0.3174, allocations: 231.1 kB / 0.7979 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3174, allocations: 0 / 0.7979 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002828/0.3177, allocations: 63.83 kB / 0.7979 GB, free: 0.9062 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.0009553/0.3187, allocations: 440 kB / 0.7983 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003959/0.3191, allocations: 195.8 kB / 0.7985 GB, free: 448 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3191, allocations: 0 / 0.7985 GB, free: 448 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.3192, allocations: 83.92 kB / 0.7986 GB, free: 364 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.3196, allocations: 47.45 kB / 0.7987 GB, free: 320 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009049/0.3205, allocations: 0.578 MB / 0.7992 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.3209, allocations: 0.7755 MB / 0.8 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001277/0.321, allocations: 38.27 kB / 0.8 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.581e-05/0.3211, allocations: 31.42 kB / 0.8 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of SimCode: time 4.41e-07/0.3211, allocations: 0 / 0.8 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of Templates: time 0.008742/0.3299, allocations: 3.336 MB / 0.8033 GB, free: 11.53 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1) Environment - environmentSimulation: