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.145/2.145, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001232/0.001232, allocations: 184.8 kB / 487.4 MB, free: 5.059 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.445/1.445, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 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.0009112/0.0009112, allocations: 100.8 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.292e-05/2.293e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2592, allocations: 142.4 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8991/1.158, allocations: 149.3 MB / 1.352 GB, free: 18.29 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/1.159, allocations: 80.17 kB / 1.352 GB, free: 18.29 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007723/1.166, allocations: 2.533 MB / 1.355 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.864e-06/1.166, allocations: 0 / 1.355 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.067e-06/1.166, allocations: 7.219 kB / 1.355 GB, free: 33.86 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.0004883/1.167, allocations: 430.2 kB / 1.355 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/1.167, allocations: 9.047 kB / 1.355 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.383e-05/1.167, allocations: 15.53 kB / 1.355 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/1.167, allocations: 184.5 kB / 1.355 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/1.167, allocations: 3.875 kB / 1.355 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/1.167, allocations: 12.45 kB / 1.355 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001106/1.167, allocations: 41.22 kB / 1.355 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/1.167, allocations: 74.78 kB / 1.355 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/1.167, allocations: 0 / 1.355 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/1.168, allocations: 0.6562 kB / 1.355 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/1.168, allocations: 3.875 kB / 1.355 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005999/1.168, allocations: 388.1 kB / 1.356 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/1.168, allocations: 57.42 kB / 1.356 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.517e-05/1.168, allocations: 26.27 kB / 1.356 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/1.168, allocations: 0 / 1.356 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001372/1.168, allocations: 76.42 kB / 1.356 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/1.168, allocations: 0 / 1.356 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0002086/1.169, allocations: 81.78 kB / 1.356 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/1.169, allocations: 55.38 kB / 1.356 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/1.169, allocations: 114.4 kB / 1.356 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/1.169, allocations: 30.25 kB / 1.356 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.42e-05/1.169, allocations: 105.5 kB / 1.356 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/1.169, allocations: 20.7 kB / 1.356 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.514e-05/1.169, allocations: 3.844 kB / 1.356 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001681/1.169, allocations: 321.1 kB / 1.356 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.567e-05/1.169, allocations: 33.8 kB / 1.357 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.502e-05/1.169, allocations: 65.38 kB / 1.357 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/1.17, allocations: 41.66 kB / 1.357 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.17, allocations: 0 / 1.357 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003289/1.17, allocations: 140.3 kB / 1.357 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.76e-05/1.17, allocations: 35.89 kB / 1.357 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/1.17, allocations: 11.81 kB / 1.357 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/1.17, allocations: 0 / 1.357 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/1.17, allocations: 22.2 kB / 1.357 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/1.17, allocations: 4.641 kB / 1.357 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/1.17, allocations: 45.06 kB / 1.357 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/1.17, allocations: 13.23 kB / 1.357 GB, free: 32.09 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 8.375e-05/1.171, allocations: 109.3 kB / 1.357 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001102/1.171, allocations: 83.59 kB / 1.357 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.24e-05/1.171, allocations: 8.453 kB / 1.357 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.836e-05/1.171, allocations: 17.08 kB / 1.357 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/1.171, allocations: 0 / 1.357 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/1.171, allocations: 0 / 1.357 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/1.171, allocations: 4.75 kB / 1.357 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/1.171, allocations: 170.1 kB / 1.357 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/1.171, allocations: 0 / 1.357 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.892e-05/1.171, allocations: 22.84 kB / 1.357 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/1.171, allocations: 2.156 kB / 1.357 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/1.171, allocations: 0 / 1.357 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/1.171, allocations: 4.719 kB / 1.357 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.171, allocations: 0 / 1.357 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/1.171, allocations: 106.9 kB / 1.357 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.175e-05/1.171, allocations: 86.25 kB / 1.357 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/1.171, allocations: 7.875 kB / 1.357 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.691e-05/1.171, allocations: 11.12 kB / 1.357 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.147e-05/1.171, allocations: 6.234 kB / 1.357 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/1.171, allocations: 0.75 kB / 1.357 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.146e-05/1.171, allocations: 99.11 kB / 1.358 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.171, allocations: 0 / 1.358 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000241/1.172, allocations: 33.27 kB / 1.358 GB, free: 31.51 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.0004687/1.172, allocations: 0.6586 MB / 1.358 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002031/1.172, allocations: 145.5 kB / 1.358 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.172, allocations: 3.844 kB / 1.358 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.059e-05/1.172, allocations: 30.59 kB / 1.358 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/1.173, allocations: 20.19 kB / 1.358 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000395/1.173, allocations: 155.3 kB / 1.359 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/1.173, allocations: 0.7012 MB / 1.359 GB, free: 30 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.124e-05/1.173, allocations: 12.78 kB / 1.359 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.875e-05/1.173, allocations: 35.92 kB / 1.359 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.173, allocations: 0 / 1.359 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02091/1.194, allocations: 2.099 MB / 1.361 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/1.195, allocations: 186.8 kB / 1.362 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.633/2.828, allocations: 3.938 kB / 1.362 GB, free: 29.64 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