Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_Validation_OutdoorAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow,fileNamePrefix="Buildings_latest_Buildings_Obsolete_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/Buildings 10.0.0-master/package.mo): time 2.131/2.131, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.001109/0.001109, allocations: 180.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 221.3 MB / 0.7915 GB, free: 5.461 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.0009408/0.0009408, allocations: 95.42 kB / 0.9318 GB, free: 5.781 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.109e-05/4.131e-05, allocations: 11.98 kB / 1.079 GB, free: 140.3 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2508, allocations: 143 MB / 1.219 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8322/1.083, allocations: 158.1 MB / 1.373 GB, free: 12.04 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/1.083, allocations: 88.86 kB / 1.373 GB, free: 11.99 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.04986/1.133, allocations: 19.42 MB / 1.392 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.623e-06/1.133, allocations: 4 kB / 1.392 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001036/1.133, allocations: 36 kB / 1.392 GB, free: 11.35 MB / 0.8542 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.003444/1.137, allocations: 1.442 MB / 1.394 GB, free: 9.949 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/1.137, allocations: 12.03 kB / 1.394 GB, free: 9.938 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006289/1.138, allocations: 220.9 kB / 1.394 GB, free: 9.805 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006966/1.138, allocations: 177.7 kB / 1.394 GB, free: 9.633 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001691/1.14, allocations: 0.6795 MB / 1.395 GB, free: 9.035 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001516/1.14, allocations: 122.5 kB / 1.395 GB, free: 8.965 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003564/1.14, allocations: 156.2 kB / 1.395 GB, free: 8.863 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002895/1.143, allocations: 1.213 MB / 1.396 GB, free: 8.062 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.223e-05/1.143, allocations: 0 / 1.396 GB, free: 8.062 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/1.144, allocations: 65.44 kB / 1.396 GB, free: 8.047 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.455e-05/1.144, allocations: 36 kB / 1.396 GB, free: 8.012 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001997/1.146, allocations: 0.9948 MB / 1.397 GB, free: 7.367 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007805/1.153, allocations: 3.965 MB / 1.401 GB, free: 4.316 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00186/1.155, allocations: 1.011 MB / 1.402 GB, free: 3.449 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004824/1.156, allocations: 297.6 kB / 1.403 GB, free: 3.262 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.582e-05/1.156, allocations: 12.77 kB / 1.403 GB, free: 3.25 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006137/1.157, allocations: 344.4 kB / 1.403 GB, free: 2.996 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=73): time 3.737e-06/1.157, allocations: 0 / 1.403 GB, free: 2.996 MB / 0.8542 GB Notification: Performance of matching and sorting (n=73): time 0.001484/1.158, allocations: 0.6159 MB / 1.403 GB, free: 2.531 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/1.158, allocations: 68.11 kB / 1.404 GB, free: 2.449 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/1.16, allocations: 0.8398 MB / 1.404 GB, free: 1.812 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001111/1.16, allocations: 43.58 kB / 1.404 GB, free: 1.773 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006947/1.16, allocations: 0.6361 MB / 1.405 GB, free: 1.34 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002485/1.161, allocations: 238.5 kB / 1.405 GB, free: 1.137 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.241e-05/1.161, allocations: 18.25 kB / 1.405 GB, free: 1.129 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001551/1.161, allocations: 339.4 kB / 1.406 GB, free: 0.8047 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005772/1.162, allocations: 296 kB / 1.406 GB, free: 0.625 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006043/1.162, allocations: 418.6 kB / 1.406 GB, free: 312 kB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005537/1.163, allocations: 347.4 kB / 1.407 GB, free: 72 kB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/1.163, allocations: 4 kB / 1.407 GB, free: 68 kB / 0.8542 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001466/1.164, allocations: 0.9051 MB / 1.407 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.205e-05/1.164, allocations: 33.7 kB / 1.408 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/1.164, allocations: 0 / 1.408 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/1.164, allocations: 8.047 kB / 1.408 GB, free: 15.33 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008464/1.165, allocations: 203.1 kB / 1.408 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.823e-05/1.165, allocations: 4 kB / 1.408 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/1.166, allocations: 214.8 kB / 1.408 GB, free: 14.94 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.636e-05/1.166, allocations: 34.3 kB / 1.408 GB, free: 14.91 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,zon3.occSen.y,zon2.occSen.y,zon1.occSen.y,$PRE.zon1.hys.y,zon1.hys.y,zon1.nOcc,$PRE.zon2.hys.y,zon2.hys.y,zon2.nOcc,$PRE.zon3.hys.y,zon3.hys.y,zon3.nOcc,$PRE.winSta1.y,winSta1.y,ahu1.yReqOutAir,ahu1.and1.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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.0001876/1.167, allocations: 150.8 kB / 1.408 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/1.167, allocations: 106.6 kB / 1.408 GB, free: 14.68 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/1.168, allocations: 0.681 MB / 1.409 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/1.168, allocations: 15.92 kB / 1.409 GB, free: 14.18 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.168, allocations: 0 / 1.409 GB, free: 14.18 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/1.168, allocations: 0 / 1.409 GB, free: 14.18 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003303/1.171, allocations: 2.208 MB / 1.411 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/1.171, allocations: 4 kB / 1.411 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006686/1.172, allocations: 158.7 kB / 1.411 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.789e-05/1.172, allocations: 8 kB / 1.411 GB, free: 12.27 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.001e-05/1.172, allocations: 30.36 kB / 1.411 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.033e-05/1.172, allocations: 15.94 kB / 1.411 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.819e-06/1.172, allocations: 11.94 kB / 1.411 GB, free: 12.22 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/1.173, allocations: 1.148 MB / 1.412 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002828/1.174, allocations: 212.6 kB / 1.413 GB, free: 10.85 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/1.174, allocations: 30.38 kB / 1.413 GB, free: 10.83 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006118/1.174, allocations: 79.19 kB / 1.413 GB, free: 10.76 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001864/1.175, allocations: 106.2 kB / 1.413 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.537e-05/1.175, allocations: 23.81 kB / 1.413 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008373/1.176, allocations: 0.643 MB / 1.413 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.61e-07/1.176, allocations: 0 / 1.413 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008202/1.176, allocations: 287.8 kB / 1.414 GB, free: 9.922 MB / 0.8698 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.hys.y,zon1.nOcc,zon2.hys.y,zon2.nOcc,zon3.hys.y,zon3.nOcc,winSta1.y) * Number of discrete states: 3 (zon3.hys.y,zon2.hys.y,zon1.hys.y) * 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 (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.002251/1.179, allocations: 3.258 MB / 1.417 GB, free: 6.703 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001237/1.18, allocations: 0.7346 MB / 1.418 GB, free: 6.164 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/1.18, allocations: 7.688 kB / 1.418 GB, free: 6.16 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008882/1.181, allocations: 494.3 kB / 1.418 GB, free: 5.828 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007684/1.182, allocations: 166.4 kB / 1.418 GB, free: 5.672 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003774/1.185, allocations: 1.778 MB / 1.42 GB, free: 3.777 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009112/1.186, allocations: 1.183 MB / 1.421 GB, free: 2.566 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0005746/1.187, allocations: 167.5 kB / 1.421 GB, free: 2.398 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006723/1.188, allocations: 499.3 kB / 1.422 GB, free: 1.91 MB / 0.8698 GB Notification: Performance of SimCode: time 1.312e-06/1.188, allocations: 4 kB / 1.422 GB, free: 1.906 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04234/1.23, allocations: 19.15 MB / 1.441 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/1.23, allocations: 228.1 kB / 1.441 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.414/3.645, allocations: 4 kB / 1.441 GB, free: 14.86 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_Validation_OutdoorAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_Validation_OutdoorAirFlow.fmu > Buildings_latest_Buildings.Obsolete.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_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow_res.mat does not exist to compare? outputFormat=mat