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.001672/0.001672, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001684/0.001684, allocations: 191.5 kB / 16.13 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.529/1.529, allocations: 205.1 MB / 222 MB, free: 4.758 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.737/1.737, allocations: 292.2 MB / 0.5484 GB, free: 13.66 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.001338/0.001338, allocations: 64.95 kB / 0.6709 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2864, allocations: 114.5 MB / 0.7827 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.003831/0.2903, allocations: 2.153 MB / 0.7848 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001984/0.2923, allocations: 1.089 MB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001814/0.2925, allocations: 0 / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004513/0.293, allocations: 87.64 kB / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002474/0.2933, allocations: 79.66 kB / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003841/0.2937, allocations: 150.9 kB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003491/0.294, allocations: 307.8 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002708/0.2943, allocations: 111.6 kB / 0.7866 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.2945, allocations: 123.4 kB / 0.7867 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00019/0.2947, allocations: 131.4 kB / 0.7868 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.055e-05/0.2948, allocations: 12 kB / 0.7868 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001485/0.2949, allocations: 63.89 kB / 0.7869 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.73e-05/0.295, allocations: 71.75 kB / 0.787 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.2952, allocations: 131.1 kB / 0.7871 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004737/0.2956, allocations: 446.8 kB / 0.7875 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2957, allocations: 0 / 0.7875 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2957, allocations: 4 kB / 0.7875 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.2957, allocations: 0 / 0.7875 GB, free: 9.008 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.001198/0.2969, allocations: 0.6306 MB / 0.7881 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.2969, allocations: 8.031 kB / 0.7882 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.078e-05/0.297, allocations: 40.47 kB / 0.7882 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004916/0.2975, allocations: 344.2 kB / 0.7885 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.2976, allocations: 12.38 kB / 0.7885 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.152e-05/0.2976, allocations: 27.94 kB / 0.7886 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003779/0.298, allocations: 189.9 kB / 0.7887 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.298, allocations: 4 kB / 0.7887 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.298, allocations: 4 kB / 0.7888 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.2981, allocations: 4 kB / 0.7888 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002795/0.2983, allocations: 131.7 kB / 0.7889 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.2996, allocations: 0.6717 MB / 0.7895 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000467/0.3001, allocations: 202.8 kB / 0.7897 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.3002, allocations: 68.83 kB / 0.7898 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.423e-05/0.3003, allocations: 3.984 kB / 0.7898 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000264/0.3005, allocations: 127.3 kB / 0.7899 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.753e-06/0.3005, allocations: 0 / 0.7899 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0005674/0.3011, allocations: 251.6 kB / 0.7902 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/0.3012, allocations: 55.39 kB / 0.7902 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003916/0.3016, allocations: 376.4 kB / 0.7906 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.3016, allocations: 37.7 kB / 0.7906 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.3018, allocations: 168.4 kB / 0.7908 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.094e-05/0.3018, allocations: 55.33 kB / 0.7908 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.3019, allocations: 69.69 kB / 0.7909 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3021, allocations: 338.8 kB / 0.7912 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.3023, allocations: 87.97 kB / 0.7913 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002189/0.3025, allocations: 148.2 kB / 0.7914 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002555/0.3028, allocations: 154.6 kB / 0.7916 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3028, allocations: 0 / 0.7916 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004591/0.3032, allocations: 273.3 kB / 0.7918 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.3033, allocations: 4 kB / 0.7918 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.3033, allocations: 4 kB / 0.7919 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.3033, allocations: 7.875 kB / 0.7919 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.3035, allocations: 39.91 kB / 0.7919 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.3035, allocations: 3.938 kB / 0.7919 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.3037, allocations: 35.86 kB / 0.7919 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/0.3037, allocations: 12 kB / 0.7919 GB, free: 4.242 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.000178/0.3039, allocations: 171.5 kB / 0.7921 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.334e-05/0.3039, allocations: 23.72 kB / 0.7921 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.016e-05/0.304, allocations: 34.36 kB / 0.7922 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.304, allocations: 8.031 kB / 0.7922 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.3041, allocations: 3.938 kB / 0.7922 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3041, allocations: 4 kB / 0.7922 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003073/0.3044, allocations: 341.3 kB / 0.7925 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3044, allocations: 0 / 0.7925 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.158e-05/0.3045, allocations: 19.94 kB / 0.7925 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3045, allocations: 0 / 0.7925 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.3045, allocations: 3.984 kB / 0.7925 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3045, allocations: 4 kB / 0.7925 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3045, allocations: 3.938 kB / 0.7925 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/0.3049, allocations: 220.6 kB / 0.7927 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.043e-05/0.305, allocations: 96.83 kB / 0.7928 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.256e-05/0.305, allocations: 8 kB / 0.7928 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.3051, allocations: 19.97 kB / 0.7929 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.783e-05/0.3052, allocations: 31.89 kB / 0.7929 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.3053, allocations: 12 kB / 0.7929 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000237/0.3055, allocations: 239 kB / 0.7931 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3055, allocations: 4 kB / 0.7931 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002879/0.3058, allocations: 59.84 kB / 0.7932 GB, free: 2.863 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.00104/0.3069, allocations: 437.2 kB / 0.7936 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004692/0.3073, allocations: 195.8 kB / 0.7938 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3074, allocations: 0 / 0.7938 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.3075, allocations: 86.62 kB / 0.7939 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004/0.3079, allocations: 54.75 kB / 0.7939 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008911/0.3089, allocations: 0.5685 MB / 0.7945 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.3092, allocations: 0.7794 MB / 0.7953 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001268/0.3094, allocations: 38.27 kB / 0.7953 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.421e-05/0.3094, allocations: 31.42 kB / 0.7953 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of SimCode: time 3.81e-07/0.3094, allocations: 3.938 kB / 0.7953 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of Templates: time 0.00745/0.3169, allocations: 3.372 MB / 0.7986 GB, free: 13.45 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.makefile (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)