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.0009612/0.0009611, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.0009092/0.0009096, allocations: 177.3 kB / 15.95 MB, free: 216 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.362/1.362, allocations: 223.2 MB / 239.9 MB, free: 5.426 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.462/2.462, allocations: 390.3 MB / 0.6653 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.0003777, allocations: 8 kB / 0.8147 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8176/0.818, allocations: 142.3 MB / 0.9537 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow): time 0.003478/0.8215, allocations: 3.573 MB / 0.9572 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002968/0.8245, allocations: 2.07 MB / 0.9592 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000488/0.825, allocations: 22.53 kB / 0.9592 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000257/0.8253, allocations: 121.4 kB / 0.9593 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004554/0.8257, allocations: 190.1 kB / 0.9595 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007915/0.8265, allocations: 420.4 kB / 0.9599 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007939/0.8273, allocations: 0.8579 MB / 0.9608 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009648/0.8283, allocations: 0.8441 MB / 0.9616 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003184/0.8286, allocations: 347.1 kB / 0.9619 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003489/0.829, allocations: 436.4 kB / 0.9623 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.368e-05/0.8291, allocations: 34.97 kB / 0.9624 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.8292, allocations: 52.64 kB / 0.9624 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001683/0.8294, allocations: 222.3 kB / 0.9626 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001676/0.8296, allocations: 248.6 kB / 0.9629 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.8308, allocations: 1.836 MB / 0.9647 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.8308, allocations: 1.281 kB / 0.9647 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8308, allocations: 0 / 0.9647 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.444e-05/0.8308, allocations: 4 kB / 0.9647 GB, free: 15.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.00238/0.8332, allocations: 1.502 MB / 0.9661 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.8333, allocations: 9.344 kB / 0.9661 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002364/0.8335, allocations: 231.4 kB / 0.9664 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002606/0.8338, allocations: 171.4 kB / 0.9665 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009418/0.8347, allocations: 0.6895 MB / 0.9672 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.8348, allocations: 122.9 kB / 0.9673 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001796/0.835, allocations: 158.4 kB / 0.9675 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002358/0.8374, allocations: 1.32 MB / 0.9687 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/0.8374, allocations: 7.953 kB / 0.9688 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.8375, allocations: 61 kB / 0.9688 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-05/0.8376, allocations: 41.5 kB / 0.9689 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002352/0.84, allocations: 1.198 MB / 0.97 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006215/0.8462, allocations: 4.016 MB / 0.9739 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002002/0.8482, allocations: 1.073 MB / 0.975 GB, free: 8.59 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.527e-05/0.8483, allocations: 17.27 kB / 0.975 GB, free: 8.582 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008161/0.8491, allocations: 422.5 kB / 0.9754 GB, free: 8.332 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=72): time 2.685e-06/0.8491, allocations: 0 / 0.9754 GB, free: 8.332 MB / 0.7325 GB Notification: Performance of matching and sorting (n=72): time 0.002351/0.8515, allocations: 1.058 MB / 0.9764 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.8515, allocations: 59.81 kB / 0.9765 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.8527, allocations: 0.9365 MB / 0.9774 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.251e-05/0.8528, allocations: 48.77 kB / 0.9775 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004658/0.8532, allocations: 0.653 MB / 0.9781 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/0.8534, allocations: 242.2 kB / 0.9783 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.744e-05/0.8535, allocations: 17.53 kB / 0.9784 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.8536, allocations: 341.9 kB / 0.9787 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007971/0.8544, allocations: 382 kB / 0.979 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008709/0.8553, allocations: 0.5408 MB / 0.9796 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008282/0.8561, allocations: 460.5 kB / 0.98 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.8561, allocations: 0 / 0.98 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00202/0.8581, allocations: 1.111 MB / 0.9811 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.186e-05/0.8582, allocations: 37.7 kB / 0.9811 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.8582, allocations: 4 kB / 0.9811 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.8582, allocations: 15.98 kB / 0.9811 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007895/0.859, allocations: 195.7 kB / 0.9813 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.701e-05/0.8591, allocations: 11.98 kB / 0.9813 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009102/0.86, allocations: 230.5 kB / 0.9816 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.225e-05/0.8601, allocations: 32 kB / 0.9816 GB, free: 3.016 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.0004704/0.8605, allocations: 301.6 kB / 0.9819 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.8607, allocations: 98.69 kB / 0.982 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001672/0.8623, allocations: 0.8508 MB / 0.9828 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.8623, allocations: 4 kB / 0.9828 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.8624, allocations: 4 kB / 0.9828 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.403e-06/0.8624, allocations: 3.984 kB / 0.9828 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003634/0.866, allocations: 2.325 MB / 0.9851 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.866, allocations: 4 kB / 0.9851 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000617/0.8667, allocations: 164.1 kB / 0.9853 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.8667, allocations: 12 kB / 0.9853 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.734e-05/0.8667, allocations: 23.98 kB / 0.9853 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.013e-05/0.8668, allocations: 11.94 kB / 0.9853 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/0.8668, allocations: 11.89 kB / 0.9853 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.8685, allocations: 1.302 MB / 0.9866 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002224/0.8687, allocations: 211.6 kB / 0.9868 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.8689, allocations: 16 kB / 0.9868 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005418/0.8694, allocations: 87.92 kB / 0.9869 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/0.8696, allocations: 100.2 kB / 0.987 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.802e-05/0.8696, allocations: 31.98 kB / 0.987 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007581/0.8704, allocations: 0.6254 MB / 0.9876 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8704, allocations: 3.938 kB / 0.9876 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007743/0.8712, allocations: 290.6 kB / 0.9879 GB, free: 12.16 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.002579/0.8738, allocations: 3.426 MB / 0.9912 GB, free: 8.559 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001777/0.8756, allocations: 0.9146 MB / 0.9921 GB, free: 7.637 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.8756, allocations: 0 / 0.9921 GB, free: 7.637 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.8767, allocations: 0.5628 MB / 0.9927 GB, free: 7.078 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000842/0.8776, allocations: 163.3 kB / 0.9928 GB, free: 6.918 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005104/0.8827, allocations: 5.792 MB / 0.9985 GB, free: 0.9102 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007469/0.8835, allocations: 1.175 MB / 0.9996 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0006001/0.8841, allocations: 179.5 kB / 0.9998 GB, free: 15.53 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006256/0.8847, allocations: 495.3 kB / 1 GB, free: 15.05 MB / 0.7637 GB Notification: Performance of SimCode: time 1.142e-06/0.8847, allocations: 0 / 1 GB, free: 15.05 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03499/0.9197, allocations: 18.54 MB / 1.018 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/0.92, allocations: 249 kB / 1.019 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.256/3.176, allocations: 4 kB / 1.019 GB, free: 12.58 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