Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_ASHRAE62_1_Validation_OutdoorAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_ASHRAE62_1_Validation_OutdoorAirFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.253/2.253, allocations: 390.3 MB / 405.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 185.1 kB / 498.1 MB, free: 5.734 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.619/1.619, allocations: 223.2 MB / 0.7948 GB, free: 17.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001/0.001, allocations: 96.19 kB / 0.9346 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004422/0.0004423, allocations: 10.44 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2952, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1897/0.4849, allocations: 151.7 MB / 1.371 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/0.4852, allocations: 83.92 kB / 1.371 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02314/0.5084, allocations: 9.356 MB / 1.38 GB, free: 0.8242 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.464e-06/0.5085, allocations: 0 / 1.38 GB, free: 0.8242 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.855e-05/0.5085, allocations: 27.94 kB / 1.38 GB, free: 0.7969 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.002218/0.5108, allocations: 1.079 MB / 1.381 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.5108, allocations: 8.031 kB / 1.381 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000312/0.5111, allocations: 135.1 kB / 1.382 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002869/0.5114, allocations: 106.6 kB / 1.382 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.5126, allocations: 0.5824 MB / 1.382 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.707e-05/0.5127, allocations: 58 kB / 1.382 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.5128, allocations: 84 kB / 1.382 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.5145, allocations: 0.9482 MB / 1.383 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.5145, allocations: 0 / 1.383 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.942e-05/0.5146, allocations: 32 kB / 1.383 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/0.5146, allocations: 20 kB / 1.383 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001547/0.5162, allocations: 0.9563 MB / 1.384 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004771/0.521, allocations: 2.612 MB / 1.387 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009179/0.5219, allocations: 493.1 kB / 1.387 GB, free: 9.527 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.312e-05/0.5219, allocations: 4.281 kB / 1.387 GB, free: 9.523 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.522, allocations: 42.77 kB / 1.387 GB, free: 9.473 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=34): time 2.024e-06/0.522, allocations: 0 / 1.387 GB, free: 9.473 MB / 0.8855 GB Notification: Performance of matching and sorting (n=34): time 0.001023/0.523, allocations: 0.6328 MB / 1.388 GB, free: 8.836 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.5231, allocations: 59.39 kB / 1.388 GB, free: 8.766 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/0.5246, allocations: 1.074 MB / 1.389 GB, free: 7.688 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.693e-05/0.5247, allocations: 33.7 kB / 1.389 GB, free: 7.648 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003994/0.5251, allocations: 435.4 kB / 1.39 GB, free: 7.215 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.5252, allocations: 110.3 kB / 1.39 GB, free: 7.105 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.214e-05/0.5252, allocations: 12 kB / 1.39 GB, free: 7.094 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.5254, allocations: 326 kB / 1.39 GB, free: 6.77 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004521/0.5259, allocations: 288.7 kB / 1.39 GB, free: 6.484 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004549/0.5263, allocations: 330.3 kB / 1.391 GB, free: 6.156 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004577/0.5268, allocations: 332.5 kB / 1.391 GB, free: 5.832 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.5268, allocations: 0 / 1.391 GB, free: 5.832 MB / 0.8855 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001184/0.528, allocations: 0.7372 MB / 1.392 GB, free: 5.086 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.528, allocations: 8 kB / 1.392 GB, free: 5.078 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.528, allocations: 3.938 kB / 1.392 GB, free: 5.074 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.5281, allocations: 0 / 1.392 GB, free: 5.074 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004567/0.5285, allocations: 115.8 kB / 1.392 GB, free: 4.961 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.5286, allocations: 0 / 1.392 GB, free: 4.961 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005214/0.5291, allocations: 119 kB / 1.392 GB, free: 4.844 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.725e-05/0.5292, allocations: 16 kB / 1.392 GB, free: 4.828 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (zonToAhu.booToRea[2].u,zonToAhu.booToRea[1].u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * 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.0005855/0.5298, allocations: 333.3 kB / 1.392 GB, free: 4.492 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/0.5299, allocations: 78.97 kB / 1.392 GB, free: 4.414 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000848/0.5308, allocations: 0.521 MB / 1.393 GB, free: 3.883 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.5308, allocations: 4 kB / 1.393 GB, free: 3.879 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.5308, allocations: 4 kB / 1.393 GB, free: 3.875 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/0.5308, allocations: 3.984 kB / 1.393 GB, free: 3.871 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004157/0.535, allocations: 2.808 MB / 1.395 GB, free: 0.8984 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/0.535, allocations: 8 kB / 1.396 GB, free: 0.8906 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002708/0.5353, allocations: 79.81 kB / 1.396 GB, free: 0.8125 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.731e-05/0.5353, allocations: 12 kB / 1.396 GB, free: 0.8008 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.367e-05/0.5354, allocations: 16 kB / 1.396 GB, free: 0.7852 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-05/0.5354, allocations: 23.88 kB / 1.396 GB, free: 0.7617 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/0.5354, allocations: 12 kB / 1.396 GB, free: 0.75 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/0.5368, allocations: 1.099 MB / 1.397 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004215/0.5372, allocations: 212.1 kB / 1.397 GB, free: 15.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.5374, allocations: 23.98 kB / 1.397 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004062/0.5378, allocations: 35.95 kB / 1.397 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.671e-05/0.5379, allocations: 55.75 kB / 1.397 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.651e-05/0.5379, allocations: 23.94 kB / 1.397 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001332/0.5393, allocations: 0.8386 MB / 1.398 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5393, allocations: 0 / 1.398 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006669/0.54, allocations: 143.6 kB / 1.398 GB, free: 13.98 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.002547/0.5425, allocations: 3.955 MB / 1.402 GB, free: 9.777 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0008401/0.5434, allocations: 0.545 MB / 1.402 GB, free: 9.234 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/0.5434, allocations: 4 kB / 1.402 GB, free: 9.23 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003146/0.5437, allocations: 233.4 kB / 1.403 GB, free: 9.004 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005969/0.5443, allocations: 123.1 kB / 1.403 GB, free: 8.887 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009083/0.5534, allocations: 6.039 MB / 1.409 GB, free: 2.625 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000882/0.5543, allocations: 1.101 MB / 1.41 GB, free: 1.496 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0004532/0.5548, allocations: 197.4 kB / 1.41 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004403/0.5552, allocations: 291.3 kB / 1.41 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of SimCode: time 1.222e-06/0.5553, allocations: 0 / 1.41 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03268/0.588, allocations: 14.19 MB / 1.424 GB, free: 3.172 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002926/0.5883, allocations: 262.5 kB / 1.424 GB, free: 2.828 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.191/2.779, allocations: 2.812 kB / 1.424 GB, free: 2.828 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_ASHRAE62_1_Validation_OutdoorAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_ASHRAE62_1_Validation_OutdoorAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.ASHRAE62_1.Validation.OutdoorAirFlow_res.mat does not exist to compare? outputFormat=mat