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.314/2.314, allocations: 390.5 MB / 398 MB, free: 10.89 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.001203/0.001203, allocations: 180.8 kB / 491.2 MB, free: 1.547 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.582/1.582, allocations: 221.5 MB / 0.7868 GB, free: 13.25 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.0009625/0.0009625, allocations: 87.89 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.08e-05/2.084e-05, allocations: 4 kB / 1.073 GB, free: 181.8 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.364, allocations: 143 MB / 1.213 GB, free: 39.29 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.18/1.544, allocations: 157.4 MB / 1.366 GB, free: 17.18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/1.544, allocations: 92.48 kB / 1.366 GB, free: 17.17 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04479/1.589, allocations: 19.27 MB / 1.385 GB, free: 28.56 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.233e-06/1.589, allocations: 0 / 1.385 GB, free: 28.56 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001031/1.589, allocations: 34.81 kB / 1.385 GB, free: 28.55 MB / 0.8386 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.003216/1.593, allocations: 1.453 MB / 1.387 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/1.593, allocations: 11.78 kB / 1.387 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005203/1.593, allocations: 171.2 kB / 1.387 GB, free: 27.49 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009458/1.594, allocations: 0.6748 MB / 1.387 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.035e-05/1.594, allocations: 57.03 kB / 1.387 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001826/1.594, allocations: 92 kB / 1.388 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001432/1.596, allocations: 0.9164 MB / 1.388 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/1.597, allocations: 0.993 MB / 1.389 GB, free: 26.81 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/1.597, allocations: 0 / 1.389 GB, free: 26.81 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-05/1.598, allocations: 0 / 1.389 GB, free: 26.81 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.112e-05/1.598, allocations: 38.22 kB / 1.389 GB, free: 26.81 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004579/1.602, allocations: 3.586 MB / 1.393 GB, free: 25.22 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/1.604, allocations: 0.9753 MB / 1.394 GB, free: 24.81 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003017/1.604, allocations: 278.3 kB / 1.394 GB, free: 24.79 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.068e-05/1.604, allocations: 8.438 kB / 1.394 GB, free: 24.78 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004003/1.604, allocations: 327 kB / 1.395 GB, free: 24.66 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=73): time 3.286e-06/1.604, allocations: 3.938 kB / 1.395 GB, free: 24.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=73): time 0.0008086/1.605, allocations: 0.5457 MB / 1.395 GB, free: 24.52 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/1.605, allocations: 59.88 kB / 1.395 GB, free: 24.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005298/1.606, allocations: 0.5512 MB / 1.396 GB, free: 24.28 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.732e-05/1.606, allocations: 36.98 kB / 1.396 GB, free: 24.25 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003332/1.606, allocations: 0.6532 MB / 1.396 GB, free: 23.82 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/1.606, allocations: 225.6 kB / 1.397 GB, free: 23.66 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.274e-05/1.606, allocations: 7.781 kB / 1.397 GB, free: 23.66 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001522/1.607, allocations: 383 kB / 1.397 GB, free: 23.32 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003608/1.607, allocations: 276.3 kB / 1.397 GB, free: 23.3 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004079/1.607, allocations: 392.8 kB / 1.398 GB, free: 23.16 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005024/1.608, allocations: 318.5 kB / 1.398 GB, free: 23.11 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.608, allocations: 0 / 1.398 GB, free: 23.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001066/1.609, allocations: 0.788 MB / 1.399 GB, free: 22.93 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.922e-05/1.609, allocations: 40.69 kB / 1.399 GB, free: 22.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/1.609, allocations: 3.938 kB / 1.399 GB, free: 22.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/1.609, allocations: 11.45 kB / 1.399 GB, free: 22.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007229/1.61, allocations: 195.2 kB / 1.399 GB, free: 22.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/1.61, allocations: 3.812 kB / 1.399 GB, free: 22.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007836/1.611, allocations: 161.4 kB / 1.399 GB, free: 22.78 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.236e-05/1.611, allocations: 34.02 kB / 1.399 GB, free: 22.77 MB / 0.8386 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.0001503/1.611, allocations: 127.9 kB / 1.399 GB, free: 22.65 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000679/1.611, allocations: 0.5447 MB / 1.4 GB, free: 22.52 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.284e-05/1.612, allocations: 77.48 kB / 1.4 GB, free: 22.48 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007945/1.612, allocations: 0.5991 MB / 1.4 GB, free: 22.32 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/1.612, allocations: 7.719 kB / 1.4 GB, free: 22.32 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/1.612, allocations: 0 / 1.4 GB, free: 22.32 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/1.612, allocations: 3.984 kB / 1.4 GB, free: 22.32 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002266/1.615, allocations: 1.938 MB / 1.402 GB, free: 21.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/1.615, allocations: 7.766 kB / 1.402 GB, free: 21.46 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005772/1.615, allocations: 162.6 kB / 1.402 GB, free: 21.42 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.073e-05/1.615, allocations: 11.78 kB / 1.402 GB, free: 21.42 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.021e-05/1.615, allocations: 15.17 kB / 1.402 GB, free: 21.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.305e-06/1.615, allocations: 11.78 kB / 1.402 GB, free: 21.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/1.615, allocations: 11.78 kB / 1.402 GB, free: 21.41 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008702/1.616, allocations: 1.086 MB / 1.404 GB, free: 20.59 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/1.616, allocations: 168.7 kB / 1.404 GB, free: 20.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.305e-05/1.616, allocations: 7.938 kB / 1.404 GB, free: 20.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005118/1.617, allocations: 88.38 kB / 1.404 GB, free: 20.4 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/1.617, allocations: 97.11 kB / 1.404 GB, free: 20.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.455e-05/1.617, allocations: 34.27 kB / 1.404 GB, free: 20.36 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003565/1.618, allocations: 405.8 kB / 1.404 GB, free: 20.23 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.618, allocations: 0 / 1.404 GB, free: 20.23 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007313/1.618, allocations: 282.8 kB / 1.405 GB, free: 20.15 MB / 0.8386 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.001888/1.62, allocations: 3.175 MB / 1.408 GB, free: 17 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008658/1.621, allocations: 0.6893 MB / 1.408 GB, free: 16.5 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.621, allocations: 4 kB / 1.408 GB, free: 16.5 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0006841/1.622, allocations: 472 kB / 1.409 GB, free: 16.18 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006453/1.622, allocations: 126.5 kB / 1.409 GB, free: 16.09 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003085/1.626, allocations: 1.694 MB / 1.411 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007668/1.626, allocations: 1.178 MB / 1.412 GB, free: 13.26 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004622/1.627, allocations: 141.9 kB / 1.412 GB, free: 13.12 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005187/1.627, allocations: 479.5 kB / 1.412 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of SimCode: time 3.91e-07/1.627, allocations: 0 / 1.412 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04279/1.67, allocations: 15.35 MB / 1.427 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002954/1.67, allocations: 222.8 kB / 1.428 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.697/4.367, allocations: 0 / 1.428 GB, free: 13.56 MB / 0.8542 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