Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.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.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure",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.212/2.212, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.0009947/0.0009947, allocations: 180.8 kB / 496.1 MB, free: 12.88 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.462/1.462, allocations: 221.3 MB / 0.7915 GB, free: 5.438 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.0008797/0.0008797, allocations: 99.94 kB / 0.9317 GB, free: 5.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.763e-05/3.781e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2372, allocations: 143 MB / 1.219 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.794/1.031, allocations: 153.3 MB / 1.369 GB, free: 0.8047 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/1.032, allocations: 77.56 kB / 1.369 GB, free: 0.7617 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05367/1.085, allocations: 20.88 MB / 1.389 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.292e-06/1.085, allocations: 0 / 1.389 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001001/1.085, allocations: 35.98 kB / 1.389 GB, free: 15.1 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.002968/1.088, allocations: 1.409 MB / 1.39 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/1.088, allocations: 8.031 kB / 1.391 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003374/1.089, allocations: 195.5 kB / 1.391 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000374/1.089, allocations: 170 kB / 1.391 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/1.09, allocations: 0.7385 MB / 1.392 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001788/1.09, allocations: 194.4 kB / 1.392 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002127/1.091, allocations: 136.8 kB / 1.392 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00219/1.093, allocations: 1.24 MB / 1.393 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.028e-05/1.093, allocations: 0 / 1.393 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/1.093, allocations: 65.3 kB / 1.393 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.067e-05/1.093, allocations: 35.98 kB / 1.393 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00168/1.095, allocations: 0.9287 MB / 1.394 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006258/1.101, allocations: 4.238 MB / 1.398 GB, free: 8.004 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/1.102, allocations: 0.737 MB / 1.399 GB, free: 7.543 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004954/1.103, allocations: 360.1 kB / 1.399 GB, free: 7.324 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.7e-05/1.103, allocations: 21.19 kB / 1.399 GB, free: 7.305 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007545/1.104, allocations: 0.5187 MB / 1.4 GB, free: 6.891 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=88): time 2.555e-06/1.104, allocations: 4 kB / 1.4 GB, free: 6.887 MB / 0.8542 GB Notification: Performance of matching and sorting (n=88): time 0.001159/1.105, allocations: 0.7068 MB / 1.401 GB, free: 6.367 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001902/1.105, allocations: 372.6 kB / 1.401 GB, free: 5.914 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/1.106, allocations: 0.9675 MB / 1.402 GB, free: 5.215 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.145e-05/1.106, allocations: 47.39 kB / 1.402 GB, free: 5.176 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003874/1.107, allocations: 0.5811 MB / 1.402 GB, free: 4.824 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002163/1.107, allocations: 292.1 kB / 1.403 GB, free: 4.574 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.272e-05/1.107, allocations: 21.75 kB / 1.403 GB, free: 4.566 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001342/1.107, allocations: 342.4 kB / 1.403 GB, free: 4.242 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005508/1.108, allocations: 317.4 kB / 1.403 GB, free: 4.066 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006849/1.108, allocations: 0.5072 MB / 1.404 GB, free: 3.652 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006116/1.109, allocations: 395.6 kB / 1.404 GB, free: 3.398 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/1.109, allocations: 0 / 1.404 GB, free: 3.398 MB / 0.8542 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001556/1.111, allocations: 1.004 MB / 1.405 GB, free: 2.668 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002892/1.111, allocations: 0.6541 MB / 1.406 GB, free: 1.973 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/1.111, allocations: 4 kB / 1.406 GB, free: 1.969 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/1.111, allocations: 4 kB / 1.406 GB, free: 1.965 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008293/1.112, allocations: 206.5 kB / 1.406 GB, free: 1.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.958e-05/1.112, allocations: 7.938 kB / 1.406 GB, free: 1.762 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009328/1.113, allocations: 233.4 kB / 1.406 GB, free: 1.551 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-05/1.113, allocations: 38.17 kB / 1.406 GB, free: 1.52 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.225e-06/1.113, allocations: 4 kB / 1.406 GB, free: 1.516 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001326/1.114, allocations: 0.862 MB / 1.407 GB, free: 0.9453 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/1.114, allocations: 4 kB / 1.407 GB, free: 0.9414 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.387e-06/1.114, allocations: 4 kB / 1.407 GB, free: 0.9375 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006985/1.115, allocations: 186.2 kB / 1.407 GB, free: 0.7656 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/1.115, allocations: 7.953 kB / 1.407 GB, free: 0.7578 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008072/1.116, allocations: 200.3 kB / 1.408 GB, free: 0.5742 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.926e-05/1.116, allocations: 38.55 kB / 1.408 GB, free: 0.5469 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.retFanPre.movMea.mode,retFanPre.movMea.mode,$PRE.retFanPre1.movMea.mode,retFanPre1.movMea.mode,$PRE.retFanPre2.movMea.mode,retFanPre2.movMea.mode,$PRE.yFan.y,yFan.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 121 * 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.0002059/1.116, allocations: 165.4 kB / 1.408 GB, free: 416 kB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/1.116, allocations: 118.5 kB / 1.408 GB, free: 296 kB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001376/1.118, allocations: 0.8329 MB / 1.409 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/1.118, allocations: 12 kB / 1.409 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/1.118, allocations: 3.953 kB / 1.409 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.049e-05/1.118, allocations: 7.969 kB / 1.409 GB, free: 15.69 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002635/1.12, allocations: 1.969 MB / 1.411 GB, free: 13.76 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/1.12, allocations: 0 / 1.411 GB, free: 13.76 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007171/1.121, allocations: 175.8 kB / 1.411 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.138e-05/1.121, allocations: 4 kB / 1.411 GB, free: 13.58 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-05/1.121, allocations: 23.98 kB / 1.411 GB, free: 13.56 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/1.121, allocations: 11.89 kB / 1.411 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.121, allocations: 0 / 1.411 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/1.123, allocations: 1.253 MB / 1.412 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000336/1.123, allocations: 239.3 kB / 1.412 GB, free: 12.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/1.123, allocations: 20 kB / 1.412 GB, free: 12.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006117/1.124, allocations: 96.05 kB / 1.412 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/1.124, allocations: 60.59 kB / 1.412 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.915e-05/1.124, allocations: 35.98 kB / 1.412 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001053/1.125, allocations: 0.7319 MB / 1.413 GB, free: 11.08 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.21e-07/1.125, allocations: 4 kB / 1.413 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001157/1.127, allocations: 454.9 kB / 1.414 GB, free: 10.63 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (retFanPre.movMea.mu,retFanPre.conP.I.y,retFanPre1.movMea.mu,retFanPre1.conP.I.y,retFanPre2.movMea.mu,retFanPre2.conP.I.y) * Number of discrete variables: 12 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,retFanPre.movMea.mode,retFanPre1.movMea.mode,retFanPre2.movMea.mode,yFan.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002302/1.129, allocations: 1.842 MB / 1.415 GB, free: 8.75 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002205/1.131, allocations: 1.395 MB / 1.417 GB, free: 7.336 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.131, allocations: 3.938 kB / 1.417 GB, free: 7.332 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005563/1.132, allocations: 364.3 kB / 1.417 GB, free: 6.973 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/1.133, allocations: 233.2 kB / 1.417 GB, free: 6.75 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003303/1.136, allocations: 1.686 MB / 1.419 GB, free: 5.02 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007257/1.137, allocations: 1.136 MB / 1.42 GB, free: 3.859 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0008687/1.138, allocations: 205.1 kB / 1.42 GB, free: 3.656 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006535/1.138, allocations: 0.5032 MB / 1.421 GB, free: 3.152 MB / 0.8698 GB Notification: Performance of SimCode: time 4.258e-06/1.138, allocations: 0 / 1.421 GB, free: 3.152 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04759/1.186, allocations: 24.88 MB / 1.445 GB, free: 10.65 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002038/1.186, allocations: 215.6 kB / 1.445 GB, free: 10.42 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.786/3.972, allocations: 1.719 kB / 1.445 GB, free: 10.42 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure_res.mat does not exist to compare? outputFormat=mat