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.181/2.181, allocations: 387.4 MB / 394.9 MB, free: 13.32 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.001132/0.001132, allocations: 192.6 kB / 487.4 MB, free: 4.988 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.451/1.451, allocations: 221.5 MB / 0.7824 GB, free: 0.9453 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008835/0.0008836, allocations: 95.66 kB / 0.9219 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.622e-05/2.624e-05, allocations: 4 kB / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2493, allocations: 142.4 MB / 1.206 GB, free: 43.74 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8359/1.085, allocations: 153.9 MB / 1.356 GB, free: 18.15 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/1.085, allocations: 83.72 kB / 1.357 GB, free: 18.15 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0434/1.129, allocations: 18.96 MB / 1.375 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.643e-06/1.129, allocations: 0 / 1.375 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.275e-05/1.129, allocations: 34.75 kB / 1.375 GB, free: 31.27 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.002172/1.131, allocations: 1.438 MB / 1.376 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/1.131, allocations: 11.62 kB / 1.376 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002101/1.131, allocations: 170.5 kB / 1.377 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007754/1.132, allocations: 0.6937 MB / 1.377 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.16e-05/1.132, allocations: 53.53 kB / 1.377 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/1.132, allocations: 92.44 kB / 1.377 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001454/1.134, allocations: 0.9148 MB / 1.378 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001659/1.136, allocations: 0.9917 MB / 1.379 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.631e-05/1.136, allocations: 0 / 1.379 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.291e-05/1.136, allocations: 0 / 1.379 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/1.136, allocations: 38.69 kB / 1.379 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004946/1.141, allocations: 3.575 MB / 1.383 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/1.142, allocations: 0.9698 MB / 1.384 GB, free: 27.54 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003277/1.142, allocations: 280.4 kB / 1.384 GB, free: 27.51 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.183e-05/1.143, allocations: 12.25 kB / 1.384 GB, free: 27.51 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004254/1.143, allocations: 314.8 kB / 1.384 GB, free: 27.4 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=73): time 2.715e-06/1.143, allocations: 0 / 1.384 GB, free: 27.4 MB / 0.8386 GB Notification: Performance of matching and sorting (n=73): time 0.0008137/1.144, allocations: 0.5545 MB / 1.385 GB, free: 27.26 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/1.144, allocations: 63.28 kB / 1.385 GB, free: 27.2 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00056/1.144, allocations: 0.5427 MB / 1.385 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.137e-05/1.144, allocations: 32.55 kB / 1.386 GB, free: 26.98 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004011/1.145, allocations: 0.6568 MB / 1.386 GB, free: 26.56 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/1.145, allocations: 228.8 kB / 1.386 GB, free: 26.39 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-05/1.145, allocations: 3.812 kB / 1.386 GB, free: 26.39 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001872/1.145, allocations: 391.5 kB / 1.387 GB, free: 26.05 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003823/1.146, allocations: 269.3 kB / 1.387 GB, free: 26.03 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000429/1.146, allocations: 394.8 kB / 1.387 GB, free: 25.89 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000588/1.147, allocations: 318.8 kB / 1.388 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/1.147, allocations: 3.938 kB / 1.388 GB, free: 25.83 MB / 0.8386 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001187/1.148, allocations: 0.7887 MB / 1.388 GB, free: 25.66 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.909e-05/1.148, allocations: 35.05 kB / 1.389 GB, free: 25.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/1.148, allocations: 3.953 kB / 1.389 GB, free: 25.63 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/1.148, allocations: 11.75 kB / 1.389 GB, free: 25.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008/1.149, allocations: 198.2 kB / 1.389 GB, free: 25.58 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/1.149, allocations: 3.875 kB / 1.389 GB, free: 25.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007954/1.15, allocations: 160.2 kB / 1.389 GB, free: 25.51 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-05/1.15, allocations: 38.39 kB / 1.389 GB, free: 25.5 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.0001533/1.15, allocations: 133.1 kB / 1.389 GB, free: 25.38 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006907/1.151, allocations: 0.5419 MB / 1.39 GB, free: 25.24 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.662e-05/1.151, allocations: 73.66 kB / 1.39 GB, free: 25.2 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008504/1.152, allocations: 0.6109 MB / 1.39 GB, free: 25.04 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/1.152, allocations: 7.688 kB / 1.39 GB, free: 25.04 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/1.152, allocations: 0 / 1.39 GB, free: 25.04 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/1.152, allocations: 3.984 kB / 1.39 GB, free: 25.04 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002464/1.154, allocations: 1.937 MB / 1.392 GB, free: 24.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/1.154, allocations: 8 kB / 1.392 GB, free: 24.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006092/1.155, allocations: 158.7 kB / 1.392 GB, free: 24.14 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.07e-05/1.155, allocations: 15.3 kB / 1.392 GB, free: 24.14 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.824e-05/1.155, allocations: 7.688 kB / 1.392 GB, free: 24.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/1.155, allocations: 19.39 kB / 1.392 GB, free: 24.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/1.155, allocations: 11.81 kB / 1.392 GB, free: 24.12 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008503/1.156, allocations: 1.084 MB / 1.393 GB, free: 23.31 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/1.156, allocations: 168.7 kB / 1.394 GB, free: 23.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.957e-05/1.156, allocations: 11.52 kB / 1.394 GB, free: 23.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005444/1.156, allocations: 77.97 kB / 1.394 GB, free: 23.13 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/1.157, allocations: 110.5 kB / 1.394 GB, free: 23.08 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.64e-05/1.157, allocations: 26.09 kB / 1.394 GB, free: 23.08 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000362/1.157, allocations: 411.8 kB / 1.394 GB, free: 22.95 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.81e-07/1.157, allocations: 0 / 1.394 GB, free: 22.95 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007655/1.158, allocations: 284.6 kB / 1.394 GB, free: 22.87 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.002287/1.16, allocations: 3.178 MB / 1.398 GB, free: 20.05 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001028/1.161, allocations: 0.6874 MB / 1.398 GB, free: 19.93 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.161, allocations: 0 / 1.398 GB, free: 19.93 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0007428/1.162, allocations: 475.1 kB / 1.399 GB, free: 19.87 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006667/1.163, allocations: 116.5 kB / 1.399 GB, free: 19.84 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003197/1.166, allocations: 1.696 MB / 1.4 GB, free: 18.95 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000719/1.166, allocations: 1.184 MB / 1.402 GB, free: 18.04 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004387/1.167, allocations: 143 kB / 1.402 GB, free: 17.98 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005479/1.167, allocations: 480.8 kB / 1.402 GB, free: 17.93 MB / 0.8386 GB Notification: Performance of SimCode: time 5.41e-07/1.168, allocations: 0 / 1.402 GB, free: 17.93 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03594/1.203, allocations: 15.33 MB / 1.417 GB, free: 7.359 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002333/1.204, allocations: 213.9 kB / 1.417 GB, free: 7.066 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.497/3.701, allocations: 4 kB / 1.417 GB, free: 7.062 MB / 0.8386 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