Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_9_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_9_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.01042/0.01042, allocations: 102.8 kB / 15.74 MB, free: 6.5 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.002176/0.002176, allocations: 198.1 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.839/1.839, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.965/3.965, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002512/0.002512, allocations: 62.94 kB / 0.9504 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.407, allocations: 140.4 MB / 1.087 GB, free: 2.051 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState): time 0.006281/0.4134, allocations: 2.085 MB / 1.09 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00331/0.4167, allocations: 1.178 MB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003184/0.4171, allocations: 7.938 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006021/0.4177, allocations: 87.45 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005708/0.4184, allocations: 107.5 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008039/0.4192, allocations: 189.5 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006591/0.4199, allocations: 316 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004125/0.4203, allocations: 127.6 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003592/0.4207, allocations: 139.4 kB / 1.092 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003395/0.421, allocations: 139.4 kB / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.362e-05/0.4211, allocations: 28 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002538/0.4214, allocations: 75.97 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001825/0.4216, allocations: 83.73 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002649/0.4219, allocations: 143.1 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009488/0.4228, allocations: 458.3 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.4228, allocations: 0 / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.946e-06/0.4229, allocations: 0 / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.139e-05/0.4229, allocations: 0 / 1.092 GB, free: 12.89 MB / 0.8575 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.00176/0.4247, allocations: 0.6225 MB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.904e-05/0.4247, allocations: 12.03 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001004/0.4248, allocations: 54.73 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/0.425, allocations: 36.7 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007971/0.4258, allocations: 351.3 kB / 1.094 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.68e-05/0.4259, allocations: 19.94 kB / 1.094 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.607e-05/0.4259, allocations: 20 kB / 1.094 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005494/0.4265, allocations: 177.4 kB / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.4265, allocations: 0 / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.219e-05/0.4266, allocations: 4 kB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.4266, allocations: 4 kB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004453/0.4271, allocations: 135.7 kB / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001651/0.4287, allocations: 0.6484 MB / 1.095 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006832/0.4294, allocations: 190.8 kB / 1.095 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002593/0.4297, allocations: 88.81 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.883e-05/0.4297, allocations: 0 / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003833/0.4301, allocations: 135.2 kB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 2.154e-06/0.4302, allocations: 0 / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.0008263/0.431, allocations: 235.6 kB / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.4311, allocations: 51.41 kB / 1.095 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006347/0.4317, allocations: 358.9 kB / 1.096 GB, free: 9.586 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.38e-05/0.4318, allocations: 41.7 kB / 1.096 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002088/0.432, allocations: 172.5 kB / 1.096 GB, free: 9.367 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.612e-05/0.4321, allocations: 43.69 kB / 1.096 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001807/0.4323, allocations: 69.69 kB / 1.096 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002398/0.4325, allocations: 334.8 kB / 1.096 GB, free: 8.914 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002765/0.4328, allocations: 91.95 kB / 1.096 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004317/0.4333, allocations: 144.7 kB / 1.096 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000453/0.4337, allocations: 151.1 kB / 1.097 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.4338, allocations: 0 / 1.097 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007817/0.4345, allocations: 269.4 kB / 1.097 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/0.4346, allocations: 11.94 kB / 1.097 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.413e-05/0.4346, allocations: 3.984 kB / 1.097 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.4347, allocations: 3.938 kB / 1.097 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.4349, allocations: 35.95 kB / 1.097 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/0.435, allocations: 8 kB / 1.097 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002854/0.4352, allocations: 31.86 kB / 1.097 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.521e-05/0.4353, allocations: 12 kB / 1.097 GB, free: 8.141 MB / 0.8575 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.0002783/0.4356, allocations: 163.5 kB / 1.097 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.077e-05/0.4357, allocations: 27.81 kB / 1.097 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.4358, allocations: 46.19 kB / 1.097 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.4358, allocations: 0 / 1.097 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.4359, allocations: 0 / 1.097 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.4359, allocations: 0 / 1.097 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005172/0.4364, allocations: 329.4 kB / 1.097 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.4364, allocations: 0 / 1.097 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.4365, allocations: 15.98 kB / 1.097 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.4366, allocations: 0 / 1.097 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.984e-05/0.4366, allocations: 15.94 kB / 1.097 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.4366, allocations: 0 / 1.097 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4366, allocations: 0 / 1.097 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006267/0.4373, allocations: 223.3 kB / 1.098 GB, free: 7.262 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.4374, allocations: 105 kB / 1.098 GB, free: 7.141 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.767e-05/0.4375, allocations: 7.938 kB / 1.098 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.4377, allocations: 15.98 kB / 1.098 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.4378, allocations: 35.95 kB / 1.098 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.92e-05/0.4379, allocations: 7.984 kB / 1.098 GB, free: 7.074 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003726/0.4383, allocations: 229.9 kB / 1.098 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.7e-07/0.4383, allocations: 0 / 1.098 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005487/0.4389, allocations: 63.83 kB / 1.098 GB, free: 6.785 MB / 0.8575 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.002518/0.4414, allocations: 1.068 MB / 1.099 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006463/0.4421, allocations: 199.7 kB / 1.099 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.4421, allocations: 0 / 1.099 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002629/0.4424, allocations: 81.47 kB / 1.099 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000575/0.443, allocations: 55.14 kB / 1.099 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005675/0.4486, allocations: 2.666 MB / 1.102 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005358/0.4492, allocations: 0.7713 MB / 1.103 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002116/0.4494, allocations: 42.27 kB / 1.103 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002744/0.4497, allocations: 99.39 kB / 1.103 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of SimCode: time 1.352e-06/0.4497, allocations: 0 / 1.103 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03838/0.4881, allocations: 6.252 MB / 1.109 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.1/15.59, allocations: 15.03 kB / 1.109 GB, free: 11.7 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Validation_ZoneState.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.ZoneState.pipe 2>&1)