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: translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoiVAV.uHea|setPoiVAV.uCoo|setPoiVAV.TSupHeaEcoSet|setPoiVAV.TSupCooSet|setPoiVAV.y|setPoiVAV.TZon|setPoiVAV.TOut|setPoiVAV1.y|setPoiVAV2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoiVAV.uHea|setPoiVAV.uCoo|setPoiVAV.TSupHeaEcoSet|setPoiVAV.TSupCooSet|setPoiVAV.y|setPoiVAV.TZon|setPoiVAV.TOut|setPoiVAV1.y|setPoiVAV2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.401/2.401, allocations: 390.3 MB / 402.8 MB, free: 6.645 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.001111/0.001111, allocations: 184.8 kB / 496.1 MB, free: 12.83 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.579/1.579, allocations: 221.3 MB / 0.7915 GB, free: 5.422 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.0009062/0.0009063, allocations: 87.2 kB / 0.9317 GB, free: 5.738 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.02e-05/3.023e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2453, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.004/1.249, allocations: 152.7 MB / 1.368 GB, free: 1.426 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002019/1.249, allocations: 78.86 kB / 1.368 GB, free: 1.379 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0547/1.304, allocations: 21.96 MB / 1.389 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.172e-06/1.304, allocations: 3.938 kB / 1.389 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001217/1.304, allocations: 47.98 kB / 1.389 GB, free: 14.54 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.003555/1.308, allocations: 1.748 MB / 1.391 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/1.308, allocations: 12.03 kB / 1.391 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004854/1.308, allocations: 217.4 kB / 1.391 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00199/1.31, allocations: 1.087 MB / 1.392 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/1.31, allocations: 143.9 kB / 1.393 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000236/1.311, allocations: 177.1 kB / 1.393 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002676/1.313, allocations: 1.471 MB / 1.394 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.985e-05/1.313, allocations: 0 / 1.394 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/1.314, allocations: 75.44 kB / 1.394 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.431e-05/1.314, allocations: 44 kB / 1.394 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00211/1.316, allocations: 1.297 MB / 1.396 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009682/1.325, allocations: 4.703 MB / 1.4 GB, free: 6.273 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003556/1.329, allocations: 1.047 MB / 1.401 GB, free: 5.582 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001074/1.33, allocations: 426.8 kB / 1.402 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001425/1.33, allocations: 24.97 kB / 1.402 GB, free: 5.324 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.983e-05/1.33, allocations: 54.17 kB / 1.402 GB, free: 5.273 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=119): time 6.052e-06/1.33, allocations: 0 / 1.402 GB, free: 5.273 MB / 0.8542 GB Notification: Performance of matching and sorting (n=119): time 0.003303/1.334, allocations: 0.9984 MB / 1.403 GB, free: 4.555 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.217e-05/1.334, allocations: 64.41 kB / 1.403 GB, free: 4.48 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002533/1.336, allocations: 1.131 MB / 1.404 GB, free: 3.652 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001975/1.337, allocations: 68.81 kB / 1.404 GB, free: 3.602 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008461/1.337, allocations: 0.7209 MB / 1.405 GB, free: 3.188 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004909/1.338, allocations: 395.2 kB / 1.405 GB, free: 2.852 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.583e-05/1.338, allocations: 26.75 kB / 1.405 GB, free: 2.844 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002332/1.338, allocations: 351.2 kB / 1.405 GB, free: 2.516 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001056/1.339, allocations: 404.3 kB / 1.406 GB, free: 2.289 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/1.341, allocations: 0.5771 MB / 1.406 GB, free: 1.855 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/1.342, allocations: 442.4 kB / 1.407 GB, free: 1.598 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/1.342, allocations: 0 / 1.407 GB, free: 1.598 MB / 0.8542 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003072/1.345, allocations: 1.223 MB / 1.408 GB, free: 0.7266 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003924/1.345, allocations: 0.6362 MB / 1.409 GB, free: 44 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/1.345, allocations: 0 / 1.409 GB, free: 44 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.289e-05/1.345, allocations: 8 kB / 1.409 GB, free: 36 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00188/1.347, allocations: 290.1 kB / 1.409 GB, free: 15.76 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.867e-05/1.347, allocations: 11.98 kB / 1.409 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/1.349, allocations: 231.7 kB / 1.409 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001391/1.349, allocations: 43.61 kB / 1.409 GB, free: 15.51 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/1.349, allocations: 7.938 kB / 1.409 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002681/1.352, allocations: 1.034 MB / 1.41 GB, free: 14.58 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/1.352, allocations: 7.953 kB / 1.41 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/1.352, allocations: 8 kB / 1.41 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/1.353, allocations: 267.8 kB / 1.41 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/1.353, allocations: 8 kB / 1.41 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/1.355, allocations: 190.3 kB / 1.411 GB, free: 14.11 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/1.355, allocations: 47.98 kB / 1.411 GB, free: 14.06 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.000447/1.355, allocations: 175 kB / 1.411 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003935/1.356, allocations: 161.9 kB / 1.411 GB, free: 13.72 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004007/1.36, allocations: 1.6 MB / 1.413 GB, free: 12.08 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/1.36, allocations: 15.94 kB / 1.413 GB, free: 12.06 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.916e-06/1.36, allocations: 4 kB / 1.413 GB, free: 12.06 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.876e-05/1.36, allocations: 7.969 kB / 1.413 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008528/1.368, allocations: 3.755 MB / 1.416 GB, free: 8.102 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.872e-05/1.368, allocations: 12 kB / 1.416 GB, free: 8.09 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/1.37, allocations: 267.7 kB / 1.416 GB, free: 7.828 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-05/1.37, allocations: 23.95 kB / 1.416 GB, free: 7.805 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000122/1.37, allocations: 43.98 kB / 1.417 GB, free: 7.762 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.139e-05/1.37, allocations: 27.88 kB / 1.417 GB, free: 7.734 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.531e-05/1.37, allocations: 19.92 kB / 1.417 GB, free: 7.715 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005077/1.375, allocations: 2.668 MB / 1.419 GB, free: 4.578 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006566/1.376, allocations: 282.8 kB / 1.419 GB, free: 4.281 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002637/1.376, allocations: 43.98 kB / 1.419 GB, free: 4.238 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001555/1.378, allocations: 159.8 kB / 1.42 GB, free: 4.082 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004106/1.378, allocations: 172.2 kB / 1.42 GB, free: 3.914 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001389/1.378, allocations: 63.97 kB / 1.42 GB, free: 3.852 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002055/1.38, allocations: 0.8959 MB / 1.421 GB, free: 2.957 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.38, allocations: 0 / 1.421 GB, free: 2.957 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002371/1.383, allocations: 0.5298 MB / 1.421 GB, free: 2.426 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.000404/1.383, allocations: 168.3 kB / 1.421 GB, free: 2.254 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004408/1.388, allocations: 1.654 MB / 1.423 GB, free: 0.5938 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.421e-05/1.388, allocations: 8.125 kB / 1.423 GB, free: 0.5859 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001771/1.39, allocations: 0.5876 MB / 1.424 GB, free: 0 / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002419/1.392, allocations: 282.9 kB / 1.424 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0063/1.398, allocations: 2.258 MB / 1.426 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001332/1.4, allocations: 1.294 MB / 1.427 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002329/1.402, allocations: 288.1 kB / 1.428 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004057/1.402, allocations: 119.4 kB / 1.428 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of SimCode: time 1.824e-06/1.402, allocations: 0 / 1.428 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of Templates: time 0.035/1.437, allocations: 17.18 MB / 1.445 GB, free: 10.52 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches