Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_Validation_OutdoorAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_Validation_OutdoorAirFlow",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.001239/0.001239, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 192.6 kB / 16.53 MB, free: 6.391 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.244/1.244, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.537/1.537, allocations: 292.3 MB / 0.5489 GB, free: 13.53 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.001315/0.001315, allocations: 70.14 kB / 0.6717 GB, free: 25.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1733, allocations: 114.5 MB / 0.7836 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow): time 0.00532/0.1786, allocations: 4.533 MB / 0.788 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002601/0.1812, allocations: 2.209 MB / 0.7902 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003073/0.1815, allocations: 20 kB / 0.7902 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003651/0.1819, allocations: 201.6 kB / 0.7904 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000458/0.1824, allocations: 229.8 kB / 0.7906 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008686/0.1833, allocations: 0.5995 MB / 0.7912 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001155/0.1844, allocations: 1.604 MB / 0.7927 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001159/0.1856, allocations: 1.145 MB / 0.7939 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004336/0.186, allocations: 0.6226 MB / 0.7945 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005286/0.1866, allocations: 0.7426 MB / 0.7952 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001971/0.1868, allocations: 191.9 kB / 0.7954 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002153/0.187, allocations: 200 kB / 0.7956 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002874/0.1873, allocations: 434.6 kB / 0.796 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005196/0.1878, allocations: 0.7965 MB / 0.7968 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001567/0.1894, allocations: 2.437 MB / 0.7991 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.1894, allocations: 0 / 0.7991 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1894, allocations: 0 / 0.7991 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.297e-05/0.1894, allocations: 0 / 0.7991 GB, free: 13.34 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 403 * Number of variables: 403 Notification: Performance of Generate backend data structure: time 0.002503/0.1919, allocations: 1.875 MB / 0.801 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.192, allocations: 12.03 kB / 0.801 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002061/0.1922, allocations: 228.4 kB / 0.8012 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002128/0.1924, allocations: 178.8 kB / 0.8014 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009666/0.1934, allocations: 0.8065 MB / 0.8022 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.504e-05/0.1935, allocations: 123.5 kB / 0.8023 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/0.1936, allocations: 160.4 kB / 0.8024 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002034/0.1957, allocations: 1.342 MB / 0.8037 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.1957, allocations: 4 kB / 0.8037 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.735e-05/0.1958, allocations: 71.98 kB / 0.8038 GB, free: 8.418 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.441e-05/0.1959, allocations: 36 kB / 0.8038 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/0.198, allocations: 1.188 MB / 0.805 GB, free: 7.191 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005294/0.2033, allocations: 4.116 MB / 0.809 GB, free: 2.973 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/0.2051, allocations: 0.8064 MB / 0.8098 GB, free: 2.152 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006526/0.2058, allocations: 330.6 kB / 0.8101 GB, free: 1.828 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.395e-05/0.2058, allocations: 8.75 kB / 0.8101 GB, free: 1.82 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007708/0.2066, allocations: 420.1 kB / 0.8105 GB, free: 1.395 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=73): time 1.923e-06/0.2066, allocations: 4 kB / 0.8105 GB, free: 1.391 MB / 0.6231 GB Notification: Performance of matching and sorting (n=73): time 0.00215/0.2088, allocations: 1.038 MB / 0.8116 GB, free: 360 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.2088, allocations: 60.06 kB / 0.8116 GB, free: 284 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.2099, allocations: 1.037 MB / 0.8126 GB, free: 15.22 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 5.885e-05/0.2099, allocations: 45.7 kB / 0.8127 GB, free: 15.17 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004215/0.2104, allocations: 0.6938 MB / 0.8133 GB, free: 14.47 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/0.2105, allocations: 240.6 kB / 0.8136 GB, free: 14.23 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002516/0.2108, allocations: 174.5 kB / 0.8137 GB, free: 14.05 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.2109, allocations: 338 kB / 0.8141 GB, free: 13.72 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007753/0.2117, allocations: 377.8 kB / 0.8144 GB, free: 13.35 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008859/0.2126, allocations: 0.5436 MB / 0.815 GB, free: 12.74 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/0.2141, allocations: 0.8539 MB / 0.8158 GB, free: 11.84 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.2141, allocations: 4 kB / 0.8158 GB, free: 11.83 MB / 0.6388 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001925/0.216, allocations: 1.119 MB / 0.8169 GB, free: 10.7 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 3.508e-05/0.2161, allocations: 33.7 kB / 0.8169 GB, free: 10.66 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.2161, allocations: 4 kB / 0.8169 GB, free: 10.65 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.2161, allocations: 8 kB / 0.8169 GB, free: 10.64 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007426/0.2168, allocations: 187.7 kB / 0.8171 GB, free: 10.46 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.2169, allocations: 8 kB / 0.8171 GB, free: 10.45 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007737/0.2176, allocations: 198.4 kB / 0.8173 GB, free: 10.26 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-05/0.2177, allocations: 35.98 kB / 0.8173 GB, free: 10.22 MB / 0.6388 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition1,$whenCondition2,opeMod.y,ahu1.occMod.y,zon3.occSen.y,zon2.occSen.y,zon1.cloWin.y,zon1.occSen.y,ahu1.intEqu1.y,winSta1.y,$PRE.winSta1.y,ahu1.hys1.y,$PRE.ahu1.hys1.y,zon3.hys.y,$PRE.zon3.hys.y,zon3.nOcc,zon2.hys.y,$PRE.zon2.hys.y,zon2.nOcc,zon1.hys.y,$PRE.zon1.hys.y,zon1.nOcc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 1 * 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.0003657/0.2181, allocations: 318.4 kB / 0.8176 GB, free: 9.902 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.2182, allocations: 114.6 kB / 0.8178 GB, free: 9.789 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001627/0.2198, allocations: 0.8285 MB / 0.8186 GB, free: 8.953 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.2199, allocations: 8 kB / 0.8186 GB, free: 8.945 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2199, allocations: 0 / 0.8186 GB, free: 8.945 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.2199, allocations: 3.984 kB / 0.8186 GB, free: 8.941 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00304/0.2229, allocations: 2.306 MB / 0.8208 GB, free: 6.508 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.2229, allocations: 8 kB / 0.8208 GB, free: 6.5 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005786/0.2235, allocations: 147.8 kB / 0.821 GB, free: 6.355 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.2235, allocations: 8.594 kB / 0.821 GB, free: 6.348 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.583e-05/0.2236, allocations: 27.98 kB / 0.821 GB, free: 6.32 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.035e-05/0.2236, allocations: 15.92 kB / 0.821 GB, free: 6.305 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.2236, allocations: 11.88 kB / 0.821 GB, free: 6.293 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/0.2252, allocations: 1.039 MB / 0.822 GB, free: 5.176 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001673/0.2253, allocations: 211.5 kB / 0.8223 GB, free: 4.949 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.2255, allocations: 24 kB / 0.8223 GB, free: 4.926 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005236/0.226, allocations: 63.92 kB / 0.8223 GB, free: 4.863 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/0.2262, allocations: 112.1 kB / 0.8224 GB, free: 4.75 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-05/0.2262, allocations: 35.92 kB / 0.8225 GB, free: 4.715 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.000727/0.227, allocations: 0.6947 MB / 0.8232 GB, free: 4.012 MB / 0.6388 GB Notification: Performance of sort global known variables: time 1.21e-07/0.227, allocations: 0 / 0.8232 GB, free: 4.012 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.0006134/0.2276, allocations: 298.7 kB / 0.8234 GB, free: 3.719 MB / 0.6388 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,zon1.nOcc,zon1.hys.y,zon2.nOcc,zon2.hys.y,zon3.nOcc,zon3.hys.y,ahu1.hys1.y,winSta1.y) * Number of discrete states: 4 (zon3.hys.y,zon2.hys.y,zon1.hys.y,ahu1.hys1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001886/0.2295, allocations: 1.63 MB / 0.825 GB, free: 1.992 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.001776/0.2313, allocations: 0.9536 MB / 0.826 GB, free: 1.031 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.2313, allocations: 1 kB / 0.826 GB, free: 1.031 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.001109/0.2324, allocations: 0.5688 MB / 0.8265 GB, free: 476 kB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008097/0.2332, allocations: 178.1 kB / 0.8267 GB, free: 300 kB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01111/0.2443, allocations: 9.176 MB / 0.8356 GB, free: 6.57 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006288/0.245, allocations: 1.188 MB / 0.8368 GB, free: 5.355 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004843/0.2455, allocations: 180.2 kB / 0.837 GB, free: 5.176 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006118/0.2461, allocations: 0.5227 MB / 0.8375 GB, free: 4.652 MB / 0.6544 GB Notification: Performance of SimCode: time 2.8e-07/0.2461, allocations: 0 / 0.8375 GB, free: 4.652 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03468/0.2808, allocations: 19.67 MB / 0.8567 GB, free: 1.32 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.081/7.362, allocations: 16.31 kB / 0.8567 GB, free: 1.309 MB / 0.67 GB (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_Validation_OutdoorAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_Validation_OutdoorAirFlow.fmu > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe 2>&1)