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_u.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_u,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u",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.377/2.377, allocations: 390.3 MB / 402.8 MB, free: 6.633 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.001459/0.001458, allocations: 176.8 kB / 496.1 MB, free: 12.86 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.511/1.511, allocations: 221.3 MB / 0.7915 GB, free: 5.391 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.0009424/0.0009425, allocations: 95.95 kB / 0.9317 GB, free: 5.688 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.432e-05/3.436e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2815, allocations: 143 MB / 1.219 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9877/1.269, allocations: 152.7 MB / 1.368 GB, free: 1.41 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/1.27, allocations: 77.06 kB / 1.368 GB, free: 1.367 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06056/1.33, allocations: 21.97 MB / 1.39 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.813e-06/1.33, allocations: 3.938 kB / 1.39 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001779/1.33, allocations: 47.98 kB / 1.39 GB, free: 14.53 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: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.004366/1.335, allocations: 1.757 MB / 1.391 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/1.335, allocations: 16.02 kB / 1.391 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005591/1.335, allocations: 245.1 kB / 1.392 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005774/1.336, allocations: 217.4 kB / 1.392 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002481/1.339, allocations: 1.087 MB / 1.393 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/1.339, allocations: 141.4 kB / 1.393 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002841/1.339, allocations: 178.1 kB / 1.393 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002887/1.342, allocations: 1.465 MB / 1.395 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.603e-05/1.342, allocations: 0 / 1.395 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001428/1.342, allocations: 76.81 kB / 1.395 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.571e-05/1.342, allocations: 44 kB / 1.395 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002332/1.344, allocations: 1.299 MB / 1.396 GB, free: 9.562 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008566/1.353, allocations: 4.707 MB / 1.401 GB, free: 6.113 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00226/1.355, allocations: 1.04 MB / 1.402 GB, free: 5.426 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006836/1.356, allocations: 424.8 kB / 1.402 GB, free: 5.191 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.958e-05/1.356, allocations: 28.95 kB / 1.402 GB, free: 5.164 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.403e-05/1.356, allocations: 52.78 kB / 1.402 GB, free: 5.117 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=119): time 2.836e-06/1.356, allocations: 3.938 kB / 1.402 GB, free: 5.113 MB / 0.8542 GB Notification: Performance of matching and sorting (n=119): time 0.001869/1.358, allocations: 0.9965 MB / 1.403 GB, free: 4.395 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/1.358, allocations: 68.39 kB / 1.403 GB, free: 4.316 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001568/1.36, allocations: 1.129 MB / 1.404 GB, free: 3.492 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001113/1.36, allocations: 58.88 kB / 1.404 GB, free: 3.449 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000561/1.36, allocations: 0.7215 MB / 1.405 GB, free: 3.035 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003391/1.361, allocations: 396.5 kB / 1.405 GB, free: 2.695 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.067e-05/1.361, allocations: 24.69 kB / 1.405 GB, free: 2.691 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001862/1.361, allocations: 353.4 kB / 1.406 GB, free: 2.359 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007689/1.362, allocations: 412.4 kB / 1.406 GB, free: 2.129 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008918/1.363, allocations: 0.5682 MB / 1.407 GB, free: 1.703 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007976/1.364, allocations: 440.4 kB / 1.407 GB, free: 1.445 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/1.364, allocations: 7.953 kB / 1.407 GB, free: 1.438 MB / 0.8542 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002046/1.366, allocations: 1.214 MB / 1.408 GB, free: 0.5781 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003595/1.366, allocations: 0.6306 MB / 1.409 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/1.366, allocations: 4 kB / 1.409 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.596e-05/1.366, allocations: 8.094 kB / 1.409 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/1.367, allocations: 295.5 kB / 1.409 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-05/1.367, allocations: 11.92 kB / 1.409 GB, free: 15.58 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/1.368, allocations: 238 kB / 1.409 GB, free: 15.35 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/1.368, allocations: 43.98 kB / 1.409 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/1.368, allocations: 1.562 kB / 1.409 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001859/1.37, allocations: 1.038 MB / 1.41 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/1.37, allocations: 4 kB / 1.41 GB, free: 14.26 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/1.37, allocations: 4 kB / 1.41 GB, free: 14.26 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/1.371, allocations: 271.8 kB / 1.411 GB, free: 13.99 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.401e-05/1.371, allocations: 8 kB / 1.411 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009902/1.372, allocations: 190.3 kB / 1.411 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/1.373, allocations: 47.98 kB / 1.411 GB, free: 13.75 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setPoiVAV.heaSta.greHys.y,setPoiVAV.heaSta.greHys.y,$PRE.setPoiVAV.gre.greHys.y,setPoiVAV.gre.greHys.y,$PRE.setPoiVAV1.heaSta.greHys.y,setPoiVAV1.heaSta.greHys.y,$PRE.setPoiVAV1.gre.greHys.y,setPoiVAV1.gre.greHys.y,$PRE.setPoiVAV2.heaSta.greHys.y,setPoiVAV2.heaSta.greHys.y,$PRE.setPoiVAV2.gre.greHys.y,setPoiVAV2.gre.greHys.y,setPoiVAV2.y1SupFan,setPoiVAV1.y1SupFan,setPoiVAV.y1SupFan) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 155 * 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.0003331/1.373, allocations: 182.5 kB / 1.411 GB, free: 13.56 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002998/1.373, allocations: 157.9 kB / 1.411 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002873/1.376, allocations: 1.608 MB / 1.413 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/1.376, allocations: 12 kB / 1.413 GB, free: 11.74 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/1.376, allocations: 0 / 1.413 GB, free: 11.74 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.437e-05/1.376, allocations: 7.969 kB / 1.413 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006315/1.382, allocations: 3.758 MB / 1.417 GB, free: 7.781 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.846e-05/1.383, allocations: 12 kB / 1.417 GB, free: 7.77 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/1.384, allocations: 271.8 kB / 1.417 GB, free: 7.504 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.654e-05/1.384, allocations: 19.95 kB / 1.417 GB, free: 7.484 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001137/1.384, allocations: 43.98 kB / 1.417 GB, free: 7.441 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.188e-05/1.384, allocations: 23.92 kB / 1.417 GB, free: 7.418 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.698e-06/1.384, allocations: 11.94 kB / 1.417 GB, free: 7.406 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003515/1.387, allocations: 2.676 MB / 1.42 GB, free: 4.262 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004768/1.388, allocations: 286.8 kB / 1.42 GB, free: 3.961 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002507/1.388, allocations: 40 kB / 1.42 GB, free: 3.922 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/1.389, allocations: 159.8 kB / 1.42 GB, free: 3.766 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002703/1.39, allocations: 172.2 kB / 1.42 GB, free: 3.598 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000119/1.39, allocations: 59.97 kB / 1.42 GB, free: 3.539 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001516/1.391, allocations: 0.8959 MB / 1.421 GB, free: 2.645 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.391, allocations: 0 / 1.421 GB, free: 2.645 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001705/1.393, allocations: 0.5337 MB / 1.422 GB, free: 2.109 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * Number of states: 3 (setPoiVAV.ramLim.y,setPoiVAV1.ramLim.y,setPoiVAV2.ramLim.y) * Number of discrete variables: 6 (setPoiVAV.heaSta.greHys.y,setPoiVAV.gre.greHys.y,setPoiVAV1.heaSta.greHys.y,setPoiVAV1.gre.greHys.y,setPoiVAV2.heaSta.greHys.y,setPoiVAV2.gre.greHys.y) * Number of discrete states: 6 (setPoiVAV2.heaSta.greHys.y,setPoiVAV1.heaSta.greHys.y,setPoiVAV.heaSta.greHys.y,setPoiVAV2.gre.greHys.y,setPoiVAV1.gre.greHys.y,setPoiVAV.gre.greHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 126 * 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.00494/1.398, allocations: 6.248 MB / 1.428 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003114/1.401, allocations: 1.661 MB / 1.429 GB, free: 9.859 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/1.401, allocations: 4.188 kB / 1.429 GB, free: 9.855 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001099/1.402, allocations: 0.5803 MB / 1.43 GB, free: 9.281 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/1.404, allocations: 286.4 kB / 1.43 GB, free: 9.004 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005688/1.409, allocations: 2.507 MB / 1.433 GB, free: 6.309 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/1.41, allocations: 1.282 MB / 1.434 GB, free: 4.996 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001461/1.412, allocations: 288.1 kB / 1.434 GB, free: 4.711 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000956/1.413, allocations: 0.6711 MB / 1.435 GB, free: 4.039 MB / 0.8855 GB Notification: Performance of SimCode: time 1.343e-06/1.413, allocations: 8 kB / 1.435 GB, free: 4.031 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06375/1.477, allocations: 30.34 MB / 1.464 GB, free: 6.047 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/1.477, allocations: 205 kB / 1.465 GB, free: 5.812 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.097/4.574, allocations: 1.875 kB / 1.465 GB, free: 5.812 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.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_u_res.mat does not exist to compare? outputFormat=mat