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.237/2.237, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001504/0.001503, allocations: 173.3 kB / 325.5 MB, free: 2.883 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.364/2.364, allocations: 205.4 MB / 0.5764 GB, free: 20.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.001094/0.001094, allocations: 93.5 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004785/0.0004784, allocations: 13.41 kB / 0.7951 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2286, allocations: 106.3 MB / 0.8988 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2462/0.4748, allocations: 140.6 MB / 1.036 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003363/0.4752, allocations: 91.94 kB / 1.036 GB, free: 4.535 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07841/0.5537, allocations: 17.68 MB / 1.053 GB, free: 2.832 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.006e-06/0.5537, allocations: 0 / 1.053 GB, free: 2.832 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.684e-05/0.5538, allocations: 20 kB / 1.053 GB, free: 2.812 MB / 0.698 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.004545/0.5584, allocations: 1.267 MB / 1.055 GB, free: 1.473 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.5584, allocations: 8.031 kB / 1.055 GB, free: 1.465 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005191/0.559, allocations: 156.1 kB / 1.055 GB, free: 1.305 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000387/0.5594, allocations: 130.5 kB / 1.055 GB, free: 1.176 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/0.5609, allocations: 0.5783 MB / 1.056 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.561, allocations: 86 kB / 1.056 GB, free: 484 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000278/0.5613, allocations: 112 kB / 1.056 GB, free: 372 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5977/1.159, allocations: 0.8944 MB / 1.057 GB, free: 142.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.396e-05/1.159, allocations: 1.156 kB / 1.057 GB, free: 142.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001478/1.159, allocations: 45.92 kB / 1.057 GB, free: 142.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.077e-05/1.159, allocations: 24.75 kB / 1.057 GB, free: 142.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002488/1.162, allocations: 0.7297 MB / 1.057 GB, free: 142.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007946/1.17, allocations: 2.504 MB / 1.06 GB, free: 142.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003798/1.174, allocations: 1.015 MB / 1.061 GB, free: 142.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001233/1.174, allocations: 12.12 kB / 1.061 GB, free: 142.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002303/1.176, allocations: 0.7485 MB / 1.062 GB, free: 142.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=105): time 5.861e-06/1.176, allocations: 0 / 1.062 GB, free: 142.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=105): time 0.00435/1.181, allocations: 1.243 MB / 1.063 GB, free: 142.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/1.181, allocations: 62.09 kB / 1.063 GB, free: 142.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/1.182, allocations: 0.6263 MB / 1.063 GB, free: 142.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003937/1.183, allocations: 77.16 kB / 1.064 GB, free: 142 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004911/1.183, allocations: 426.6 kB / 1.064 GB, free: 141.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004891/1.184, allocations: 262.1 kB / 1.064 GB, free: 141.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/1.184, allocations: 26 kB / 1.064 GB, free: 141.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002205/1.184, allocations: 404.5 kB / 1.065 GB, free: 141.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001404/1.185, allocations: 375.7 kB / 1.065 GB, free: 141.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001702/1.187, allocations: 0.5183 MB / 1.065 GB, free: 141.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/1.189, allocations: 308.3 kB / 1.066 GB, free: 141.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/1.189, allocations: 4.859 kB / 1.066 GB, free: 141.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003684/1.192, allocations: 0.9776 MB / 1.067 GB, free: 141.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.025e-05/1.192, allocations: 10.53 kB / 1.067 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/1.192, allocations: 3.234 kB / 1.067 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.781e-05/1.192, allocations: 6.406 kB / 1.067 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/1.194, allocations: 137.9 kB / 1.067 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.312e-05/1.194, allocations: 7.625 kB / 1.067 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/1.195, allocations: 131.2 kB / 1.067 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002143/1.196, allocations: 43.72 kB / 1.067 GB, free: 141.2 MB / 0.698 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 () * Number of clocked 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.0009596/1.197, allocations: 306.5 kB / 1.067 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002847/1.197, allocations: 100.2 kB / 1.067 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003383/1.2, allocations: 0.9923 MB / 1.068 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/1.2, allocations: 10.75 kB / 1.068 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/1.2, allocations: 2 kB / 1.068 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.738e-05/1.2, allocations: 4.594 kB / 1.068 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005636/1.206, allocations: 1.969 MB / 1.07 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.218e-06/1.206, allocations: 3.906 kB / 1.07 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008875/1.207, allocations: 100.1 kB / 1.07 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.702e-05/1.207, allocations: 7.422 kB / 1.07 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001225/1.207, allocations: 31.33 kB / 1.071 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.226e-05/1.207, allocations: 4.375 kB / 1.071 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.207, allocations: 4.812 kB / 1.071 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003478/1.211, allocations: 1.033 MB / 1.072 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003545/1.211, allocations: 164.5 kB / 1.072 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005295/1.212, allocations: 46.5 kB / 1.072 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/1.213, allocations: 79.55 kB / 1.072 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007993/1.214, allocations: 188.3 kB / 1.072 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001723/1.214, allocations: 52.08 kB / 1.072 GB, free: 140.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009272/1.215, allocations: 436.1 kB / 1.072 GB, free: 140.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.804e-06/1.215, allocations: 0 / 1.072 GB, free: 140.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001329/1.216, allocations: 242.3 kB / 1.073 GB, free: 140.1 MB / 0.698 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) * Number of clocked states: 0 () * 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.004706/1.221, allocations: 1.992 MB / 1.075 GB, free: 139.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003531/1.224, allocations: 0.9224 MB / 1.076 GB, free: 139.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/1.225, allocations: 4.062 kB / 1.076 GB, free: 139.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00176/1.226, allocations: 0.5396 MB / 1.076 GB, free: 139.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008803/1.227, allocations: 97.61 kB / 1.076 GB, free: 139.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006392/1.234, allocations: 3.763 MB / 1.08 GB, free: 136.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007253/1.234, allocations: 1.055 MB / 1.081 GB, free: 135.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001068/1.236, allocations: 124.2 kB / 1.081 GB, free: 135.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001109/1.237, allocations: 410.9 kB / 1.081 GB, free: 135.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.693e-06/1.237, allocations: 0 / 1.081 GB, free: 135.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07331/1.31, allocations: 17.5 MB / 1.098 GB, free: 131.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002818/1.31, allocations: 267.2 kB / 1.099 GB, free: 131 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.475/4.786, allocations: 0 / 1.099 GB, free: 131 MB / 0.698 GB