Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.OperationMode.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.OperationMode,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_OperationMode",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.182/2.182, allocations: 248.5 MB / 261 MB, free: 5.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001459/0.001459, allocations: 183.6 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.901/1.901, allocations: 205.2 MB / 0.571 GB, free: 11.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001165/0.001164, allocations: 104.9 kB / 0.6754 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.723e-05/3.747e-05, allocations: 7.984 kB / 0.787 GB, free: 97.76 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2435, allocations: 106.3 MB / 0.8907 GB, free: 7.41 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9128/1.156, allocations: 140.5 MB / 1.028 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003051/1.157, allocations: 78.23 kB / 1.028 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.07486/1.232, allocations: 17.65 MB / 1.045 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.623e-06/1.232, allocations: 0 / 1.045 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.049e-05/1.232, allocations: 24 kB / 1.045 GB, free: 11.79 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.003201/1.235, allocations: 1.165 MB / 1.046 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/1.235, allocations: 15.97 kB / 1.046 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002732/1.235, allocations: 150.3 kB / 1.047 GB, free: 10.53 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003515/1.236, allocations: 138.5 kB / 1.047 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/1.237, allocations: 0.577 MB / 1.047 GB, free: 9.879 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/1.237, allocations: 92.67 kB / 1.047 GB, free: 9.824 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002447/1.237, allocations: 108.1 kB / 1.047 GB, free: 9.75 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002351/1.24, allocations: 0.8581 MB / 1.048 GB, free: 9.18 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.871e-05/1.24, allocations: 0 / 1.048 GB, free: 9.18 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001479/1.24, allocations: 45.8 kB / 1.048 GB, free: 9.164 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-05/1.24, allocations: 24 kB / 1.048 GB, free: 9.141 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00204/1.242, allocations: 0.6755 MB / 1.049 GB, free: 8.711 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007506/1.25, allocations: 2.508 MB / 1.051 GB, free: 6.824 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003209/1.253, allocations: 0.9687 MB / 1.052 GB, free: 6.164 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009269/1.254, allocations: 339.8 kB / 1.053 GB, free: 5.973 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 9.285e-05/1.254, allocations: 12.94 kB / 1.053 GB, free: 5.961 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001827/1.256, allocations: 0.718 MB / 1.053 GB, free: 5.402 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=105): time 5.301e-06/1.256, allocations: 0 / 1.053 GB, free: 5.402 MB / 0.6667 GB Notification: Performance of matching and sorting (n=105): time 0.002637/1.259, allocations: 0.8546 MB / 1.054 GB, free: 4.77 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.295e-05/1.259, allocations: 68.34 kB / 1.054 GB, free: 4.691 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/1.26, allocations: 0.6272 MB / 1.055 GB, free: 4.211 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003134/1.26, allocations: 75.38 kB / 1.055 GB, free: 4.16 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004781/1.261, allocations: 415.3 kB / 1.055 GB, free: 3.895 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003936/1.261, allocations: 263.6 kB / 1.056 GB, free: 3.68 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.797e-05/1.261, allocations: 22.94 kB / 1.056 GB, free: 3.672 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000257/1.262, allocations: 408.2 kB / 1.056 GB, free: 3.305 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/1.263, allocations: 341.7 kB / 1.056 GB, free: 3.113 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/1.264, allocations: 0.492 MB / 1.057 GB, free: 2.742 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008826/1.265, allocations: 288.3 kB / 1.057 GB, free: 2.551 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-06/1.265, allocations: 4 kB / 1.057 GB, free: 2.547 MB / 0.6667 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002614/1.268, allocations: 0.9201 MB / 1.058 GB, free: 1.871 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.613e-05/1.268, allocations: 11.95 kB / 1.058 GB, free: 1.859 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/1.268, allocations: 0 / 1.058 GB, free: 1.859 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.312e-05/1.268, allocations: 8 kB / 1.058 GB, free: 1.852 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/1.269, allocations: 133.6 kB / 1.058 GB, free: 1.73 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.728e-05/1.269, allocations: 12.22 kB / 1.058 GB, free: 1.719 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/1.27, allocations: 131.3 kB / 1.058 GB, free: 1.609 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001458/1.27, allocations: 38.81 kB / 1.058 GB, free: 1.578 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 100 ($PRE.opeModSel.lat.y,$PRE.opeModSel.lat1.y,$PRE.opeModSel.lat2.y,$PRE.opeModSel.lat3.y,$PRE.opeModSel.lat4.y,$whenCondition1,$PRE.occTim.tab.nextTimeEvent,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,occTim.tab.nextTimeEvent,$PRE.occTim.tab.nextTimeEventScaled,occTim.tab.nextTimeEventScaled,lesEqu.y,lesEqu1.y,occ.y,opeModSel.yOpeMod,opeModSel.intGreThr.y,opeModSel.intGreThr1.y,$PRE.opeModSel.falEdg.not_u,opeModSel.falEdg.not_u,$PRE.opeModSel.lat.u,opeModSel.lat.u,$PRE.opeModSel.lat.clr,opeModSel.lat.clr,opeModSel.lat.y,$PRE.opeModSel.lat1.u,opeModSel.lat1.u,$PRE.opeModSel.lat1.clr,opeModSel.lat1.clr,opeModSel.lat1.y,$PRE.opeModSel.lat2.u,opeModSel.lat2.u,$PRE.opeModSel.lat2.clr,opeModSel.lat2.clr,opeModSel.lat2.y,$PRE.opeModSel.falEdg1.not_u,opeModSel.falEdg1.not_u,$PRE.opeModSel.hys2.y,opeModSel.hys2.y,$PRE.opeModSel.hys3.y,opeModSel.hys3.y,$PRE.opeModSel.hys4.y,opeModSel.hys4.y,$PRE.opeModSel.hys5.y,opeModSel.hys5.y,$PRE.opeModSel.hys9.y,opeModSel.hys9.y,$PRE.opeModSel.hys10.y,opeModSel.hys10.y,$PRE.opeModSel.lat3.u,opeModSel.lat3.u,$PRE.opeModSel.lat3.clr,opeModSel.lat3.clr,opeModSel.lat3.y,$PRE.opeModSel.lat4.u,opeModSel.lat4.u,$PRE.opeModSel.lat4.clr,opeModSel.lat4.clr,opeModSel.lat4.y,opeModSel.intGreThr2.y,opeModSel.intGreThr3.y,opeModSel.addInt.u1,opeModSel.addInt.u2,opeModSel.addInt.y,opeModSel.addInt1.u1,opeModSel.addInt1.y,opeModSel.addInt2.u1,opeModSel.addInt2.u2,opeModSel.addInt2.y,opeModSel.addInt3.u2,opeModSel.addInt3.y,opeModSel.addInt4.u2,opeModSel.addInt4.y,opeModSel.booToInt3.u,opeModSel.and1.y,opeModSel.and2.y,opeModSel.or3.y,opeModSel.or5.y,opeModSel.and3.u2,opeModSel.not1.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 141 * 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.0004406/1.271, allocations: 213.8 kB / 1.059 GB, free: 1.406 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002922/1.271, allocations: 94.86 kB / 1.059 GB, free: 1.312 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002761/1.274, allocations: 0.9375 MB / 1.06 GB, free: 0.6758 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/1.274, allocations: 8 kB / 1.06 GB, free: 0.668 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/1.274, allocations: 0 / 1.06 GB, free: 0.668 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/1.274, allocations: 15.84 kB / 1.06 GB, free: 0.6523 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004438/1.278, allocations: 1.923 MB / 1.062 GB, free: 15.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/1.279, allocations: 0 / 1.062 GB, free: 15.22 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009419/1.279, allocations: 98.45 kB / 1.062 GB, free: 15.13 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.906e-05/1.28, allocations: 7.953 kB / 1.062 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001301/1.28, allocations: 32.33 kB / 1.062 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.034e-05/1.28, allocations: 4 kB / 1.062 GB, free: 15.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.28, allocations: 0 / 1.062 GB, free: 15.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00251/1.282, allocations: 0.9871 MB / 1.063 GB, free: 14.35 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002603/1.283, allocations: 166.7 kB / 1.063 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002711/1.283, allocations: 51.06 kB / 1.063 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/1.284, allocations: 77.31 kB / 1.063 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006261/1.284, allocations: 197.1 kB / 1.063 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001361/1.285, allocations: 42.41 kB / 1.063 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008417/1.286, allocations: 431.2 kB / 1.064 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.81e-07/1.286, allocations: 0 / 1.064 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001234/1.287, allocations: 235.7 kB / 1.064 GB, free: 13.39 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 75 ($whenCondition18,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition1,occTim.tab.nextTimeEvent,occTim.tab.nextTimeEventScaled,lesEqu.y,lesEqu1.y,occ.y,opeModSel.yOpeMod,opeModSel.intGreThr.y,opeModSel.intGreThr1.y,opeModSel.falEdg.not_u,opeModSel.lat.u,opeModSel.lat.clr,opeModSel.lat.y,opeModSel.lat1.u,opeModSel.lat1.clr,opeModSel.lat1.y,opeModSel.lat2.u,opeModSel.lat2.clr,opeModSel.lat2.y,opeModSel.falEdg1.not_u,opeModSel.hys2.y,opeModSel.hys3.y,opeModSel.hys4.y,opeModSel.hys5.y,opeModSel.hys9.y,opeModSel.hys10.y,opeModSel.lat3.u,opeModSel.lat3.clr,opeModSel.lat3.y,opeModSel.lat4.u,opeModSel.lat4.clr,opeModSel.lat4.y,opeModSel.intGreThr2.y,opeModSel.intGreThr3.y,opeModSel.addInt.u1,opeModSel.addInt.u2,opeModSel.addInt.y,opeModSel.addInt1.u1,opeModSel.addInt1.y,opeModSel.addInt2.u1,opeModSel.addInt2.u2,opeModSel.addInt2.y,opeModSel.addInt3.u2,opeModSel.addInt3.y,opeModSel.addInt4.u2,opeModSel.addInt4.y,opeModSel.booToInt3.u,opeModSel.and1.y,opeModSel.and2.y,opeModSel.or3.y,opeModSel.or5.y,opeModSel.and3.u2,opeModSel.not1.y,booToInt.y,booToInt1.y) * Number of discrete states: 25 (occTim.tab.nextTimeEvent,opeModSel.hys2.y,opeModSel.hys3.y,opeModSel.hys4.y,opeModSel.hys5.y,opeModSel.hys9.y,opeModSel.hys10.y,opeModSel.lat1.u,opeModSel.lat1.clr,opeModSel.lat3.u,opeModSel.lat3.clr,opeModSel.lat4.u,opeModSel.lat4.clr,opeModSel.falEdg.not_u,opeModSel.lat.u,opeModSel.lat.clr,opeModSel.falEdg1.not_u,opeModSel.lat2.u,opeModSel.lat2.clr,opeModSel.lat4.y,opeModSel.lat3.y,opeModSel.lat2.y,opeModSel.lat1.y,opeModSel.lat.y,occTim.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.004174/1.291, allocations: 1.901 MB / 1.066 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002739/1.294, allocations: 0.8705 MB / 1.066 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/1.294, allocations: 0 / 1.066 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001341/1.295, allocations: 0.5092 MB / 1.067 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009753/1.296, allocations: 90.59 kB / 1.067 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004833/1.301, allocations: 1.431 MB / 1.068 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008964/1.302, allocations: 1.054 MB / 1.069 GB, free: 8.605 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009734/1.303, allocations: 122.9 kB / 1.07 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001024/1.304, allocations: 409.6 kB / 1.07 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of SimCode: time 1.683e-06/1.304, allocations: 0 / 1.07 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06613/1.37, allocations: 17.86 MB / 1.087 GB, free: 6.762 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003025/1.371, allocations: 229.9 kB / 1.088 GB, free: 6.535 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.206/4.577, allocations: 4 kB / 1.088 GB, free: 6.531 MB / 0.698 GB