Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.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.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan",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.351/2.351, allocations: 387.1 MB / 399.7 MB, free: 9.465 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.0009332/0.000933, allocations: 188.2 kB / 492.3 MB, free: 0.6172 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.499/1.499, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.0009135/0.0009134, allocations: 87.97 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.815e-05/2.817e-05, allocations: 4 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2678, allocations: 142.4 MB / 1.213 GB, free: 38.34 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9363/1.204, allocations: 150 MB / 1.359 GB, free: 19.12 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/1.204, allocations: 75.81 kB / 1.359 GB, free: 19.12 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007428/1.212, allocations: 2.543 MB / 1.362 GB, free: 34.7 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.573e-06/1.212, allocations: 0 / 1.362 GB, free: 34.7 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.041e-05/1.212, allocations: 3.344 kB / 1.362 GB, free: 34.7 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004609/1.212, allocations: 428 kB / 1.362 GB, free: 34.29 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/1.212, allocations: 7.719 kB / 1.362 GB, free: 34.29 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.111e-05/1.212, allocations: 45.14 kB / 1.362 GB, free: 34.25 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.622e-05/1.213, allocations: 15.62 kB / 1.362 GB, free: 34.24 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/1.213, allocations: 180.2 kB / 1.362 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/1.213, allocations: 10.47 kB / 1.362 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/1.213, allocations: 11.53 kB / 1.362 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/1.213, allocations: 83.25 kB / 1.362 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/1.213, allocations: 3.953 kB / 1.362 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/1.213, allocations: 0 / 1.362 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/1.213, allocations: 3.812 kB / 1.362 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.428e-05/1.213, allocations: 45.92 kB / 1.362 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005635/1.214, allocations: 428 kB / 1.363 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.092e-05/1.214, allocations: 57.02 kB / 1.363 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.409e-05/1.214, allocations: 30.64 kB / 1.363 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/1.214, allocations: 0 / 1.363 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/1.214, allocations: 78.97 kB / 1.363 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/1.214, allocations: 0 / 1.363 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0002235/1.214, allocations: 99.75 kB / 1.363 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/1.214, allocations: 51.41 kB / 1.363 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/1.214, allocations: 123.5 kB / 1.363 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/1.214, allocations: 32.98 kB / 1.363 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.11e-05/1.214, allocations: 106 kB / 1.363 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/1.214, allocations: 25.16 kB / 1.363 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.205e-05/1.214, allocations: 3.812 kB / 1.363 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.577e-05/1.215, allocations: 319.4 kB / 1.364 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.131e-05/1.215, allocations: 43.28 kB / 1.364 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.954e-05/1.215, allocations: 58.06 kB / 1.364 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.874e-05/1.215, allocations: 65.69 kB / 1.364 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/1.215, allocations: 0 / 1.364 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002838/1.215, allocations: 178.7 kB / 1.364 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.112e-05/1.215, allocations: 36.38 kB / 1.364 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/1.215, allocations: 8.016 kB / 1.364 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/1.215, allocations: 11.77 kB / 1.364 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/1.215, allocations: 15.27 kB / 1.364 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/1.215, allocations: 3.688 kB / 1.364 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/1.216, allocations: 48.16 kB / 1.364 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/1.216, allocations: 5.734 kB / 1.364 GB, free: 32.79 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.fanStatus.y,fanStatus.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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.0001051/1.216, allocations: 112.1 kB / 1.364 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.927e-05/1.216, allocations: 13.11 kB / 1.364 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.049e-05/1.216, allocations: 13.23 kB / 1.364 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/1.216, allocations: 3.953 kB / 1.364 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/1.216, allocations: 0 / 1.364 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/1.216, allocations: 0 / 1.364 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/1.216, allocations: 204.1 kB / 1.364 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/1.216, allocations: 0 / 1.364 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.365e-05/1.216, allocations: 18.33 kB / 1.365 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/1.216, allocations: 0 / 1.365 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/1.216, allocations: 5.016 kB / 1.365 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/1.216, allocations: 3.938 kB / 1.365 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.216, allocations: 3.953 kB / 1.365 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/1.216, allocations: 115.3 kB / 1.365 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.431e-05/1.216, allocations: 84.83 kB / 1.365 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/1.216, allocations: 5.156 kB / 1.365 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.732e-05/1.217, allocations: 10.67 kB / 1.365 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/1.217, allocations: 14.22 kB / 1.365 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/1.217, allocations: 0 / 1.365 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.775e-05/1.217, allocations: 103.4 kB / 1.365 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.217, allocations: 0 / 1.365 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002297/1.217, allocations: 38.38 kB / 1.365 GB, free: 32.2 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,fanStatus.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * 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.0005525/1.217, allocations: 0.6562 MB / 1.366 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002706/1.218, allocations: 150.3 kB / 1.366 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.218, allocations: 0 / 1.366 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.901e-05/1.218, allocations: 38.67 kB / 1.366 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/1.218, allocations: 15.16 kB / 1.366 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004594/1.219, allocations: 181.4 kB / 1.366 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/1.219, allocations: 0.7011 MB / 1.367 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.204e-05/1.219, allocations: 13.22 kB / 1.367 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.245e-05/1.219, allocations: 26.8 kB / 1.367 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of SimCode: time 4.11e-07/1.219, allocations: 0 / 1.367 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01312/1.232, allocations: 2.555 MB / 1.369 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001423/1.232, allocations: 187.4 kB / 1.369 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.519/2.751, allocations: 5.859 kB / 1.369 GB, free: 30.23 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat does not exist to compare? outputFormat=mat