Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow,fileNamePrefix="Buildings_9_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_9_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.001246/0.001246, allocations: 108 kB / 15.61 MB, free: 152 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.001212/0.001212, allocations: 194.9 kB / 16.53 MB, free: 6.664 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.216/1.216, allocations: 222.9 MB / 240.2 MB, free: 4.391 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 2.104/2.104, allocations: 390.2 MB / 0.6647 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 67.89 kB / 0.8128 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4704/0.4716, allocations: 140.4 MB / 0.9498 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow): time 0.004256/0.4759, allocations: 4.393 MB / 0.9541 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002087/0.478, allocations: 2.163 MB / 0.9562 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003287/0.4783, allocations: 23.25 kB / 0.9562 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003243/0.4786, allocations: 191.9 kB / 0.9564 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004055/0.4791, allocations: 215.2 kB / 0.9566 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007272/0.4798, allocations: 0.5736 MB / 0.9572 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008819/0.4807, allocations: 1.517 MB / 0.9587 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.4817, allocations: 1.119 MB / 0.9598 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003633/0.4821, allocations: 0.5913 MB / 0.9603 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003953/0.4825, allocations: 0.6999 MB / 0.961 GB, free: 436 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002017/0.4827, allocations: 179.5 kB / 0.9612 GB, free: 436 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002219/0.4829, allocations: 196.1 kB / 0.9614 GB, free: 424 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002088/0.4832, allocations: 417.9 kB / 0.9618 GB, free: 80 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005064/0.4837, allocations: 0.7541 MB / 0.9625 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001513/0.4852, allocations: 2.303 MB / 0.9648 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.4852, allocations: 3.984 kB / 0.9648 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4852, allocations: 0 / 0.9648 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.952e-05/0.4852, allocations: 0 / 0.9648 GB, free: 13.55 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 400 * Number of variables: 400 Notification: Performance of Generate backend data structure: time 0.002407/0.4876, allocations: 1.753 MB / 0.9665 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.4877, allocations: 9.031 kB / 0.9665 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002068/0.4879, allocations: 224.5 kB / 0.9667 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002157/0.4881, allocations: 176.3 kB / 0.9669 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008021/0.4889, allocations: 0.7099 MB / 0.9676 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.863e-05/0.489, allocations: 127.4 kB / 0.9677 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001762/0.4892, allocations: 157.8 kB / 0.9678 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002067/0.4913, allocations: 1.321 MB / 0.9691 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.4913, allocations: 0 / 0.9691 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-05/0.4914, allocations: 65.39 kB / 0.9692 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.721e-05/0.4914, allocations: 41.88 kB / 0.9692 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002128/0.4936, allocations: 1.154 MB / 0.9704 GB, free: 9.898 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005191/0.4988, allocations: 3.995 MB / 0.9743 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/0.5005, allocations: 1.009 MB / 0.9752 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006818/0.5012, allocations: 357.7 kB / 0.9756 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.662e-05/0.5013, allocations: 11.72 kB / 0.9756 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007469/0.502, allocations: 400.1 kB / 0.976 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=72): time 3.467e-06/0.502, allocations: 0 / 0.976 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of matching and sorting (n=72): time 0.002079/0.5041, allocations: 0.9926 MB / 0.9769 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.5042, allocations: 59.78 kB / 0.977 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000964/0.5051, allocations: 0.9436 MB / 0.9779 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.382e-05/0.5052, allocations: 49.69 kB / 0.978 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003935/0.5056, allocations: 0.6546 MB / 0.9786 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.5058, allocations: 236.6 kB / 0.9788 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002421/0.506, allocations: 170.5 kB / 0.979 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.964e-05/0.5061, allocations: 338 kB / 0.9793 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007292/0.5068, allocations: 357.8 kB / 0.9797 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008271/0.5077, allocations: 0.5155 MB / 0.9802 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001396/0.5091, allocations: 0.8223 MB / 0.981 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.5091, allocations: 0 / 0.981 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001848/0.511, allocations: 1.068 MB / 0.982 GB, free: 284 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.786e-05/0.511, allocations: 45.69 kB / 0.9821 GB, free: 232 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.511, allocations: 7.984 kB / 0.9821 GB, free: 224 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.511, allocations: 12 kB / 0.9821 GB, free: 212 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007048/0.5118, allocations: 187.7 kB / 0.9823 GB, free: 24 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.5118, allocations: 8 kB / 0.9823 GB, free: 16 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007612/0.5125, allocations: 194.5 kB / 0.9824 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.807e-05/0.5126, allocations: 39.98 kB / 0.9825 GB, free: 15.79 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 20 ($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,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 (106): * Single equations (assignments): 105 * 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.0003451/0.513, allocations: 299.5 kB / 0.9828 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.5131, allocations: 102.7 kB / 0.9829 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001575/0.5147, allocations: 0.7962 MB / 0.9836 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.5147, allocations: 8 kB / 0.9837 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.5147, allocations: 0 / 0.9837 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.5147, allocations: 3.984 kB / 0.9837 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003176/0.5179, allocations: 2.266 MB / 0.9859 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.5179, allocations: 4 kB / 0.9859 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005638/0.5185, allocations: 151.7 kB / 0.986 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.968e-06/0.5185, allocations: 12.61 kB / 0.986 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.075e-05/0.5185, allocations: 20 kB / 0.986 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.5186, allocations: 8 kB / 0.9861 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.5186, allocations: 15.92 kB / 0.9861 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/0.5201, allocations: 0.995 MB / 0.987 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001638/0.5202, allocations: 215.5 kB / 0.9872 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.5204, allocations: 20 kB / 0.9873 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005031/0.5209, allocations: 63.92 kB / 0.9873 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/0.521, allocations: 104.1 kB / 0.9874 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/0.5211, allocations: 31.94 kB / 0.9875 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006762/0.5218, allocations: 0.641 MB / 0.9881 GB, free: 9.797 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5218, allocations: 0 / 0.9881 GB, free: 9.797 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006708/0.5225, allocations: 278.8 kB / 0.9883 GB, free: 9.523 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,zon1.nOcc,zon1.hys.y,zon2.nOcc,zon2.hys.y,zon3.nOcc,zon3.hys.y,winSta1.y) * Number of discrete states: 3 (zon3.hys.y,zon2.hys.y,zon1.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 71 * 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.001833/0.5243, allocations: 1.587 MB / 0.9899 GB, free: 7.836 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00176/0.5261, allocations: 0.9107 MB / 0.9908 GB, free: 6.914 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5261, allocations: 0 / 0.9908 GB, free: 6.914 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.5272, allocations: 0.5503 MB / 0.9913 GB, free: 6.367 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008292/0.528, allocations: 180 kB / 0.9915 GB, free: 6.188 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/0.5387, allocations: 8.567 MB / 0.9999 GB, free: 13.12 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006203/0.5393, allocations: 1.15 MB / 1.001 GB, free: 11.94 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0004668/0.5398, allocations: 175.5 kB / 1.001 GB, free: 11.76 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005237/0.5403, allocations: 0.4972 MB / 1.002 GB, free: 11.27 MB / 0.7637 GB Notification: Performance of SimCode: time 4.51e-07/0.5403, allocations: 0 / 1.002 GB, free: 11.27 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9954/1.536, allocations: 18.38 MB / 1.02 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.737/10.27, allocations: 18.7 kB / 1.02 GB, free: 9.203 MB / 0.7794 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_Validation_OutdoorAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_Validation_OutdoorAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe 2>&1)