Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.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.SingleZone.VAV.SetPoints.Validation.Supply_T,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_T",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.446/2.446, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001205/0.001205, allocations: 180.3 kB / 0.4901 GB, free: 2.246 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.507/1.507, allocations: 223.1 MB / 0.7992 GB, free: 15.62 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.001003/0.001003, allocations: 101.8 kB / 0.9396 GB, free: 2.832 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004865/0.0004866, allocations: 9.969 kB / 1.09 GB, free: 213 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.364, allocations: 143 MB / 1.229 GB, free: 85.3 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1865/0.5506, allocations: 152.7 MB / 1.378 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/0.5509, allocations: 79.94 kB / 1.379 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02107/0.572, allocations: 8.019 MB / 1.386 GB, free: 4.312 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.505e-06/0.572, allocations: 0 / 1.386 GB, free: 4.312 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.956e-05/0.5721, allocations: 15.98 kB / 1.386 GB, free: 4.297 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.001786/0.5739, allocations: 0.8651 MB / 1.387 GB, free: 3.379 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.574, allocations: 8.031 kB / 1.387 GB, free: 3.371 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000186/0.5742, allocations: 106.5 kB / 1.387 GB, free: 3.258 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001491/0.5743, allocations: 83.2 kB / 1.387 GB, free: 3.176 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008148/0.5751, allocations: 491.6 kB / 1.388 GB, free: 2.66 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.202e-05/0.5752, allocations: 45.31 kB / 1.388 GB, free: 2.617 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.548e-05/0.5753, allocations: 64 kB / 1.388 GB, free: 2.555 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.5765, allocations: 0.5843 MB / 1.389 GB, free: 1.965 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.5765, allocations: 0 / 1.389 GB, free: 1.965 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.87e-05/0.5766, allocations: 24 kB / 1.389 GB, free: 1.941 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.5766, allocations: 19.94 kB / 1.389 GB, free: 1.922 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.5777, allocations: 0.5283 MB / 1.389 GB, free: 1.391 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002932/0.5806, allocations: 1.75 MB / 1.391 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.5817, allocations: 410.9 kB / 1.391 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.815e-05/0.5817, allocations: 11.98 kB / 1.391 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.5817, allocations: 43.16 kB / 1.391 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=35): time 5.16e-06/0.5818, allocations: 4 kB / 1.391 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of matching and sorting (n=35): time 0.001214/0.583, allocations: 0.5588 MB / 1.392 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.583, allocations: 59.34 kB / 1.392 GB, free: 14.47 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006066/0.5836, allocations: 0.5256 MB / 1.392 GB, free: 13.94 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.412e-05/0.5837, allocations: 37.7 kB / 1.392 GB, free: 13.9 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002387/0.5839, allocations: 304.1 kB / 1.393 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 8.818e-05/0.584, allocations: 118.3 kB / 1.393 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.251e-05/0.5841, allocations: 12 kB / 1.393 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.5842, allocations: 366.8 kB / 1.393 GB, free: 13.1 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003919/0.5846, allocations: 180.8 kB / 1.393 GB, free: 12.92 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004232/0.585, allocations: 246.3 kB / 1.394 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004111/0.5855, allocations: 206.2 kB / 1.394 GB, free: 12.46 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.5855, allocations: 0 / 1.394 GB, free: 12.46 MB / 0.9011 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009943/0.5865, allocations: 0.529 MB / 1.394 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001561/0.5866, allocations: 356 kB / 1.395 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.5867, allocations: 0 / 1.395 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.5867, allocations: 11.95 kB / 1.395 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004353/0.5871, allocations: 99.88 kB / 1.395 GB, free: 11.44 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.5871, allocations: 4 kB / 1.395 GB, free: 11.44 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003692/0.5875, allocations: 95.12 kB / 1.395 GB, free: 11.34 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/0.5876, allocations: 16 kB / 1.395 GB, free: 11.33 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.5876, allocations: 4 kB / 1.395 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008536/0.5884, allocations: 426.1 kB / 1.395 GB, free: 10.91 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-06/0.5885, allocations: 0 / 1.395 GB, free: 10.91 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.7e-06/0.5885, allocations: 4 kB / 1.395 GB, free: 10.91 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/0.5889, allocations: 91.89 kB / 1.395 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.5889, allocations: 11.92 kB / 1.395 GB, free: 10.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000327/0.5892, allocations: 79.2 kB / 1.395 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.403e-05/0.5893, allocations: 19.98 kB / 1.395 GB, free: 10.71 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.setPoiVAV.heaSta.greHys.y,setPoiVAV.heaSta.greHys.y,$PRE.setPoiVAV.gre.greHys.y,setPoiVAV.gre.greHys.y,setPoiVAV.y1SupFan) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * 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.0002603/0.5895, allocations: 257.8 kB / 1.396 GB, free: 10.45 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.709e-05/0.5896, allocations: 63.2 kB / 1.396 GB, free: 10.38 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009423/0.5906, allocations: 481.3 kB / 1.396 GB, free: 9.898 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.5906, allocations: 7.938 kB / 1.396 GB, free: 9.891 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.5906, allocations: 0 / 1.396 GB, free: 9.891 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/0.5906, allocations: 7.938 kB / 1.396 GB, free: 9.883 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/0.5925, allocations: 1.251 MB / 1.397 GB, free: 8.531 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.5925, allocations: 4 kB / 1.397 GB, free: 8.527 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00033/0.5928, allocations: 75.89 kB / 1.398 GB, free: 8.453 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.5928, allocations: 8 kB / 1.398 GB, free: 8.445 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/0.5929, allocations: 8 kB / 1.398 GB, free: 8.438 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.578e-06/0.5929, allocations: 15.92 kB / 1.398 GB, free: 8.422 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.5929, allocations: 12.05 kB / 1.398 GB, free: 8.41 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.5943, allocations: 0.954 MB / 1.399 GB, free: 7.305 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.5944, allocations: 148.3 kB / 1.399 GB, free: 7.141 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.266e-05/0.5945, allocations: 12 kB / 1.399 GB, free: 7.129 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003855/0.5949, allocations: 55.95 kB / 1.399 GB, free: 7.074 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.286e-05/0.595, allocations: 39.91 kB / 1.399 GB, free: 7.035 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/0.595, allocations: 16 kB / 1.399 GB, free: 7.02 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004803/0.5955, allocations: 422.8 kB / 1.399 GB, free: 6.609 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5955, allocations: 0 / 1.399 GB, free: 6.609 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006285/0.5962, allocations: 187.5 kB / 1.399 GB, free: 6.426 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 1 (setPoiVAV.ramLim.y) * Number of discrete variables: 2 (setPoiVAV.heaSta.greHys.y,setPoiVAV.gre.greHys.y) * Number of discrete states: 2 (setPoiVAV.heaSta.greHys.y,setPoiVAV.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.00229/0.5985, allocations: 2.487 MB / 1.402 GB, free: 3.816 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001556/0.6, allocations: 0.6373 MB / 1.402 GB, free: 3.18 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.78e-06/0.6001, allocations: 4 kB / 1.402 GB, free: 3.176 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0004669/0.6005, allocations: 198 kB / 1.403 GB, free: 2.984 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006062/0.6011, allocations: 98.88 kB / 1.403 GB, free: 2.887 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5033/1.104, allocations: 3.844 MB / 1.406 GB, free: 169.1 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/1.105, allocations: 0.8784 MB / 1.407 GB, free: 168.4 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0004092/1.105, allocations: 86.33 kB / 1.407 GB, free: 168.4 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003117/1.106, allocations: 217.5 kB / 1.408 GB, free: 168.4 MB / 0.9011 GB Notification: Performance of SimCode: time 1.172e-06/1.106, allocations: 1.312 kB / 1.408 GB, free: 168.4 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03106/1.137, allocations: 10.51 MB / 1.418 GB, free: 167.9 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000204/1.137, allocations: 226 kB / 1.418 GB, free: 167.7 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.189/3.326, allocations: 4.406 kB / 1.418 GB, free: 167.7 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_T_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_T.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_T_res.mat does not exist to compare? outputFormat=mat