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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.0008255/0.0008258, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0008323/0.0008323, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 223.2 MB / 240 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.555/2.555, allocations: 390.4 MB / 0.6655 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003567, allocations: 12 kB / 0.815 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8032/0.8036, allocations: 142.3 MB / 0.9539 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow): time 0.004404/0.808, allocations: 3.541 MB / 0.9574 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003962/0.812, allocations: 2.068 MB / 0.9594 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000741/0.8128, allocations: 18.12 kB / 0.9594 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003429/0.8132, allocations: 124.4 kB / 0.9596 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00057/0.8137, allocations: 152 kB / 0.9597 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.8148, allocations: 412.2 kB / 0.9601 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00146/0.8163, allocations: 1.348 MB / 0.9614 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001326/0.8176, allocations: 0.8517 MB / 0.9623 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005661/0.8182, allocations: 345.6 kB / 0.9626 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004094/0.8186, allocations: 439.6 kB / 0.963 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.8187, allocations: 35.5 kB / 0.963 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000177/0.8189, allocations: 53.11 kB / 0.9631 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001972/0.8191, allocations: 226.7 kB / 0.9633 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002174/0.8194, allocations: 244.4 kB / 0.9635 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001566/0.8209, allocations: 1.834 MB / 0.9653 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.821, allocations: 0 / 0.9653 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.856e-06/0.821, allocations: 4 kB / 0.9653 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.499e-05/0.821, allocations: 0 / 0.9653 GB, free: 15.25 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.003385/0.8244, allocations: 1.5 MB / 0.9668 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.8245, allocations: 12.97 kB / 0.9668 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000292/0.8248, allocations: 228.4 kB / 0.967 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002881/0.8251, allocations: 179.5 kB / 0.9672 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.8261, allocations: 0.6859 MB / 0.9679 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.8263, allocations: 122.7 kB / 0.968 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002184/0.8265, allocations: 158.5 kB / 0.9681 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002956/0.8295, allocations: 1.332 MB / 0.9694 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.869e-05/0.8295, allocations: 3.953 kB / 0.9694 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/0.8297, allocations: 73.33 kB / 0.9695 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.942e-05/0.8297, allocations: 37.94 kB / 0.9695 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002744/0.8325, allocations: 1.193 MB / 0.9707 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006842/0.8394, allocations: 4.012 MB / 0.9746 GB, free: 8.957 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/0.8413, allocations: 1.068 MB / 0.9757 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007405/0.8421, allocations: 379.9 kB / 0.976 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.34e-05/0.8422, allocations: 25.22 kB / 0.9761 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008653/0.843, allocations: 412 kB / 0.9764 GB, free: 7.863 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=72): time 5.089e-06/0.843, allocations: 3.984 kB / 0.9765 GB, free: 7.859 MB / 0.7325 GB Notification: Performance of matching and sorting (n=72): time 0.002312/0.8454, allocations: 1.063 MB / 0.9775 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.8454, allocations: 62.78 kB / 0.9776 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/0.8467, allocations: 0.9403 MB / 0.9785 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.187e-05/0.8468, allocations: 41.7 kB / 0.9785 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005202/0.8473, allocations: 0.6546 MB / 0.9791 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002008/0.8475, allocations: 236.6 kB / 0.9794 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.195e-05/0.8476, allocations: 20 kB / 0.9794 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.8477, allocations: 349.9 kB / 0.9797 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007833/0.8485, allocations: 377.8 kB / 0.9801 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009043/0.8494, allocations: 0.5408 MB / 0.9806 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008412/0.8503, allocations: 456.5 kB / 0.981 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.8503, allocations: 0 / 0.981 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002107/0.8524, allocations: 1.107 MB / 0.9821 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.857e-05/0.8525, allocations: 41.69 kB / 0.9822 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.8525, allocations: 4 kB / 0.9822 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.8525, allocations: 8 kB / 0.9822 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007777/0.8533, allocations: 203.7 kB / 0.9824 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.682e-05/0.8533, allocations: 8 kB / 0.9824 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008944/0.8542, allocations: 230.5 kB / 0.9826 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-05/0.8543, allocations: 43.92 kB / 0.9826 GB, free: 2.199 MB / 0.7325 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,zon1.nOcc,$PRE.zon1.hys.y,zon1.hys.y,zon2.nOcc,$PRE.zon2.hys.y,zon2.hys.y,zon3.nOcc,$PRE.zon3.hys.y,zon3.hys.y,$PRE.winSta1.y,winSta1.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005673/0.8549, allocations: 289.7 kB / 0.9829 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.855, allocations: 102.7 kB / 0.983 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001696/0.8567, allocations: 0.8469 MB / 0.9838 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.8568, allocations: 8 kB / 0.9839 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.8568, allocations: 3.938 kB / 0.9839 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.966e-06/0.8568, allocations: 3.984 kB / 0.9839 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003783/0.8606, allocations: 2.332 MB / 0.9861 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.8606, allocations: 8 kB / 0.9861 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006204/0.8612, allocations: 164.5 kB / 0.9863 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.285e-05/0.8612, allocations: 8 kB / 0.9863 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-05/0.8613, allocations: 23.94 kB / 0.9863 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.527e-05/0.8613, allocations: 11.98 kB / 0.9863 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.505e-06/0.8613, allocations: 15.89 kB / 0.9864 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/0.863, allocations: 1.042 MB / 0.9874 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002321/0.8633, allocations: 211.6 kB / 0.9876 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.8634, allocations: 20 kB / 0.9876 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005272/0.8639, allocations: 87.92 kB / 0.9877 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/0.8641, allocations: 96.2 kB / 0.9878 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-05/0.8642, allocations: 31.94 kB / 0.9878 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007611/0.8649, allocations: 0.6293 MB / 0.9884 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.2e-07/0.8649, allocations: 4 kB / 0.9884 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009398/0.8659, allocations: 290.6 kB / 0.9887 GB, free: 11.73 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 (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.00208/0.868, allocations: 1.638 MB / 0.9903 GB, free: 9.996 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001834/0.8698, allocations: 0.9108 MB / 0.9912 GB, free: 9.078 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.8698, allocations: 0 / 0.9912 GB, free: 9.078 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.871, allocations: 0.5667 MB / 0.9917 GB, free: 8.516 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.872, allocations: 170.1 kB / 0.9919 GB, free: 8.352 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/0.8828, allocations: 6.7 MB / 0.9984 GB, free: 1.301 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000742/0.8836, allocations: 1.146 MB / 0.9996 GB, free: 132 kB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005734/0.8841, allocations: 175.5 kB / 0.9997 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005886/0.8847, allocations: 495.3 kB / 1 GB, free: 15.47 MB / 0.7637 GB Notification: Performance of SimCode: time 9.11e-07/0.8847, allocations: 0 / 1 GB, free: 15.47 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03605/0.9208, allocations: 19.06 MB / 1.019 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001983/0.921, allocations: 261.3 kB / 1.019 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.335/3.256, allocations: 2.344 kB / 1.019 GB, free: 12.44 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow_res.mat does not exist to compare? outputFormat=mat