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/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_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.277/2.277, allocations: 387.1 MB / 399.7 MB, free: 9.461 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.001064/0.001064, allocations: 176.9 kB / 492.3 MB, free: 0.6016 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.609/1.609, allocations: 221.3 MB / 0.7871 GB, free: 12.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.0008701/0.0008701, allocations: 95.45 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.534e-05/3.548e-05, allocations: 4 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2577, allocations: 142.3 MB / 1.213 GB, free: 38.32 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9465/1.204, allocations: 154.6 MB / 1.364 GB, free: 19.04 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/1.205, allocations: 82.16 kB / 1.364 GB, free: 19.04 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04442/1.249, allocations: 19.1 MB / 1.382 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.743e-06/1.249, allocations: 3.938 kB / 1.382 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.912e-05/1.249, allocations: 35.06 kB / 1.382 GB, free: 30.93 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.002257/1.251, allocations: 1.437 MB / 1.384 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/1.251, allocations: 15.59 kB / 1.384 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002246/1.252, allocations: 222.9 kB / 1.384 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002144/1.252, allocations: 173.7 kB / 1.384 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000919/1.253, allocations: 0.6878 MB / 1.385 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-05/1.253, allocations: 126 kB / 1.385 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/1.253, allocations: 156.5 kB / 1.385 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001852/1.255, allocations: 1.213 MB / 1.386 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/1.255, allocations: 0 / 1.386 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/1.255, allocations: 60.78 kB / 1.386 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/1.255, allocations: 41.38 kB / 1.386 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/1.257, allocations: 0.9934 MB / 1.387 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005428/1.262, allocations: 3.952 MB / 1.391 GB, free: 27.35 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/1.264, allocations: 1.013 MB / 1.392 GB, free: 26.94 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004058/1.264, allocations: 299.5 kB / 1.392 GB, free: 26.92 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.851e-05/1.264, allocations: 12.14 kB / 1.392 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005433/1.265, allocations: 346.3 kB / 1.393 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=73): time 3.797e-06/1.265, allocations: 3.938 kB / 1.393 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of matching and sorting (n=73): time 0.001261/1.266, allocations: 0.6219 MB / 1.393 GB, free: 26.64 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/1.266, allocations: 59.94 kB / 1.393 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/1.267, allocations: 0.8326 MB / 1.394 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.453e-05/1.267, allocations: 46.7 kB / 1.394 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004813/1.268, allocations: 0.6344 MB / 1.395 GB, free: 25.98 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001917/1.268, allocations: 240.8 kB / 1.395 GB, free: 25.81 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.077e-05/1.268, allocations: 17.41 kB / 1.395 GB, free: 25.81 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001172/1.268, allocations: 339 kB / 1.395 GB, free: 25.49 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004702/1.268, allocations: 296.2 kB / 1.396 GB, free: 25.48 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005312/1.269, allocations: 416.7 kB / 1.396 GB, free: 25.34 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005136/1.269, allocations: 345 kB / 1.396 GB, free: 25.27 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/1.27, allocations: 4 kB / 1.396 GB, free: 25.26 MB / 0.8386 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001333/1.271, allocations: 0.9 MB / 1.397 GB, free: 25.04 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.09e-05/1.271, allocations: 44.34 kB / 1.397 GB, free: 25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/1.271, allocations: 3.844 kB / 1.397 GB, free: 25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/1.271, allocations: 3.844 kB / 1.397 GB, free: 25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007918/1.272, allocations: 200 kB / 1.398 GB, free: 24.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.576e-05/1.272, allocations: 3.844 kB / 1.398 GB, free: 24.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008835/1.273, allocations: 212 kB / 1.398 GB, free: 24.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.101e-05/1.273, allocations: 34.27 kB / 1.398 GB, free: 24.86 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.0001687/1.273, allocations: 153.6 kB / 1.398 GB, free: 24.74 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/1.273, allocations: 108.7 kB / 1.398 GB, free: 24.68 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/1.274, allocations: 0.6841 MB / 1.399 GB, free: 24.5 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/1.274, allocations: 7.719 kB / 1.399 GB, free: 24.5 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.274, allocations: 0 / 1.399 GB, free: 24.5 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/1.274, allocations: 7.984 kB / 1.399 GB, free: 24.5 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002893/1.277, allocations: 2.208 MB / 1.401 GB, free: 23.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/1.277, allocations: 11.77 kB / 1.401 GB, free: 23.54 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006117/1.278, allocations: 158 kB / 1.401 GB, free: 23.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/1.278, allocations: 7.812 kB / 1.401 GB, free: 23.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.355e-05/1.278, allocations: 29.11 kB / 1.401 GB, free: 23.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.576e-06/1.278, allocations: 11.62 kB / 1.401 GB, free: 23.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/1.278, allocations: 7.375 kB / 1.401 GB, free: 23.49 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/1.279, allocations: 1.16 MB / 1.402 GB, free: 22.66 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/1.279, allocations: 202.8 kB / 1.402 GB, free: 22.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/1.279, allocations: 30.77 kB / 1.402 GB, free: 22.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005562/1.28, allocations: 90.98 kB / 1.403 GB, free: 22.4 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/1.28, allocations: 101.6 kB / 1.403 GB, free: 22.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-05/1.28, allocations: 27.25 kB / 1.403 GB, free: 22.3 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0006802/1.281, allocations: 0.6429 MB / 1.403 GB, free: 21.82 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.281, allocations: 0 / 1.403 GB, free: 21.82 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007504/1.282, allocations: 280.3 kB / 1.404 GB, free: 21.57 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.001771/1.283, allocations: 3.255 MB / 1.407 GB, free: 18.35 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001063/1.284, allocations: 0.7367 MB / 1.407 GB, free: 17.8 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/1.284, allocations: 4.062 kB / 1.407 GB, free: 17.8 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0007643/1.285, allocations: 496.7 kB / 1.408 GB, free: 17.47 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007452/1.286, allocations: 157.1 kB / 1.408 GB, free: 17.36 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003053/1.289, allocations: 1.78 MB / 1.41 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006358/1.29, allocations: 1.178 MB / 1.411 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000467/1.29, allocations: 175.5 kB / 1.411 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004921/1.291, allocations: 0.4953 MB / 1.412 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of SimCode: time 5.91e-07/1.291, allocations: 0 / 1.412 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03936/1.33, allocations: 19.12 MB / 1.43 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/1.33, allocations: 215.6 kB / 1.431 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.71/4.041, allocations: 1.25 kB / 1.431 GB, free: 11.22 MB / 0.8542 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