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.358/2.358, allocations: 390.5 MB / 398 MB, free: 10.95 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.000952/0.0009521, allocations: 180.8 kB / 491.2 MB, free: 1.57 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.754/1.754, allocations: 221.5 MB / 0.7868 GB, free: 13.25 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.0009488/0.0009488, allocations: 91.89 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.751e-05/2.753e-05, allocations: 8 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2672, allocations: 143 MB / 1.212 GB, free: 39.32 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9892/1.256, allocations: 151.9 MB / 1.361 GB, free: 17.29 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/1.257, allocations: 77.09 kB / 1.361 GB, free: 17.29 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01919/1.276, allocations: 7.942 MB / 1.369 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.443e-06/1.276, allocations: 7.875 kB / 1.369 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.198e-05/1.276, allocations: 19.19 kB / 1.369 GB, free: 32.45 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.001457/1.278, allocations: 0.8124 MB / 1.37 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.506e-05/1.278, allocations: 7.812 kB / 1.37 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/1.278, allocations: 77 kB / 1.37 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007975/1.279, allocations: 498.3 kB / 1.37 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.202e-05/1.279, allocations: 19.47 kB / 1.37 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.543e-05/1.279, allocations: 34.75 kB / 1.37 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006897/1.279, allocations: 422.6 kB / 1.371 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008082/1.28, allocations: 445.5 kB / 1.371 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.853e-05/1.28, allocations: 0 / 1.371 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.286e-05/1.28, allocations: 0 / 1.371 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/1.28, allocations: 19.53 kB / 1.371 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002567/1.283, allocations: 1.575 MB / 1.373 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007057/1.284, allocations: 331.4 kB / 1.373 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/1.284, allocations: 116.6 kB / 1.373 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.121e-05/1.284, allocations: 4.469 kB / 1.373 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/1.284, allocations: 48.58 kB / 1.373 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=35): time 1.884e-06/1.284, allocations: 0 / 1.373 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=35): time 0.0005522/1.284, allocations: 286.6 kB / 1.373 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/1.285, allocations: 54.5 kB / 1.373 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000344/1.285, allocations: 321.8 kB / 1.374 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/1.285, allocations: 29.2 kB / 1.374 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002301/1.285, allocations: 335.5 kB / 1.374 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.078e-05/1.285, allocations: 116.2 kB / 1.374 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.057e-05/1.285, allocations: 4 kB / 1.374 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001595/1.285, allocations: 348.9 kB / 1.374 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/1.286, allocations: 134.1 kB / 1.375 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002516/1.286, allocations: 189.9 kB / 1.375 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002474/1.286, allocations: 142.8 kB / 1.375 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.286, allocations: 0 / 1.375 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005785/1.287, allocations: 393.7 kB / 1.375 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.000189/1.287, allocations: 358.8 kB / 1.376 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/1.287, allocations: 3.969 kB / 1.376 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/1.287, allocations: 7.781 kB / 1.376 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000419/1.287, allocations: 104.9 kB / 1.376 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/1.287, allocations: 3.953 kB / 1.376 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003656/1.288, allocations: 58.61 kB / 1.376 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.825e-05/1.288, allocations: 18.44 kB / 1.376 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.556e-06/1.288, allocations: 3.75 kB / 1.376 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000475/1.288, allocations: 316.9 kB / 1.376 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-06/1.288, allocations: 3.938 kB / 1.376 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.723e-06/1.288, allocations: 10.92 kB / 1.376 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003561/1.289, allocations: 96.53 kB / 1.376 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-06/1.289, allocations: 0 / 1.376 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/1.289, allocations: 36.73 kB / 1.376 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/1.289, allocations: 18.58 kB / 1.376 GB, free: 29.66 MB / 0.8386 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 () * 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.0001387/1.289, allocations: 114.4 kB / 1.376 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000434/1.29, allocations: 298.9 kB / 1.377 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.007e-05/1.29, allocations: 38.88 kB / 1.377 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005743/1.29, allocations: 353 kB / 1.377 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.922e-06/1.29, allocations: 3.812 kB / 1.377 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/1.29, allocations: 0 / 1.377 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/1.29, allocations: 0 / 1.377 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/1.292, allocations: 1.056 MB / 1.378 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/1.292, allocations: 3.875 kB / 1.378 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003067/1.292, allocations: 79.03 kB / 1.378 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/1.292, allocations: 7.688 kB / 1.378 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.798e-05/1.292, allocations: 11.2 kB / 1.378 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/1.292, allocations: 3.812 kB / 1.378 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/1.292, allocations: 3.938 kB / 1.378 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007816/1.293, allocations: 0.7842 MB / 1.379 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.98e-05/1.293, allocations: 133.2 kB / 1.379 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.334e-05/1.293, allocations: 7.875 kB / 1.379 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003373/1.293, allocations: 46.36 kB / 1.379 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.381e-05/1.293, allocations: 38.33 kB / 1.379 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.513e-05/1.293, allocations: 14.81 kB / 1.379 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002271/1.294, allocations: 252.5 kB / 1.379 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.294, allocations: 4 kB / 1.379 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005668/1.294, allocations: 204.4 kB / 1.38 GB, free: 28.15 MB / 0.8386 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) * 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.001338/1.295, allocations: 2.307 MB / 1.382 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007294/1.296, allocations: 0.491 MB / 1.382 GB, free: 26.14 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.296, allocations: 320 / 1.382 GB, free: 26.14 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001781/1.296, allocations: 138.9 kB / 1.382 GB, free: 26.13 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005049/1.297, allocations: 83.27 kB / 1.383 GB, free: 26.12 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/1.298, allocations: 0.7976 MB / 1.383 GB, free: 25.71 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/1.299, allocations: 0.8831 MB / 1.384 GB, free: 25 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003587/1.299, allocations: 73.88 kB / 1.384 GB, free: 24.99 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002211/1.299, allocations: 206.3 kB / 1.384 GB, free: 24.98 MB / 0.8386 GB Notification: Performance of SimCode: time 4.61e-07/1.299, allocations: 3.938 kB / 1.384 GB, free: 24.97 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03059/1.33, allocations: 8.316 MB / 1.393 GB, free: 22.17 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002357/1.33, allocations: 188.7 kB / 1.393 GB, free: 21.98 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.142/3.473, allocations: 0 / 1.393 GB, free: 21.98 MB / 0.8386 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