Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoiVAV.uHea|setPoiVAV.uCoo|setPoiVAV.TSupHeaEco|setPoiVAV.TSupCoo|setPoiVAV.y|setPoiVAV.TZon|setPoiVAV.TOut|setPoiVAV1.y|setPoiVAV2.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoiVAV.uHea|setPoiVAV.uCoo|setPoiVAV.TSupHeaEco|setPoiVAV.TSupCoo|setPoiVAV.y|setPoiVAV.TZon|setPoiVAV.TOut|setPoiVAV1.y|setPoiVAV2.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.418/1.418, allocations: 249.3 MB / 261.8 MB, free: 5.773 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 177 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 205.2 MB / 0.572 GB, free: 10.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007908/0.0007908, allocations: 86.53 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.323e-05/2.325e-05, allocations: 4 kB / 0.788 GB, free: 97.04 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1795, allocations: 106.3 MB / 0.8919 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6453/0.8248, allocations: 133.8 MB / 1.022 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/0.8252, allocations: 78.83 kB / 1.023 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04618/0.8714, allocations: 18.5 MB / 1.041 GB, free: 1.117 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8714, allocations: 4 kB / 1.041 GB, free: 1.113 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.6e-05/0.8715, allocations: 51.92 kB / 1.041 GB, free: 1.062 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 391 * Number of variables: 391 Notification: Performance of Generate backend data structure: time 0.00291/0.8744, allocations: 1.555 MB / 1.042 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.8745, allocations: 8.031 kB / 1.042 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002597/0.8748, allocations: 189.8 kB / 1.042 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.8759, allocations: 0.8093 MB / 1.043 GB, free: 14.69 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.689e-05/0.876, allocations: 112.2 kB / 1.043 GB, free: 14.62 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/0.8761, allocations: 156.8 kB / 1.043 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002219/0.8784, allocations: 1.303 MB / 1.045 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.8784, allocations: 0 / 1.045 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/0.8785, allocations: 66 kB / 1.045 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.051e-05/0.8786, allocations: 39.98 kB / 1.045 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002012/0.8806, allocations: 1.203 MB / 1.046 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007218/0.8878, allocations: 4.375 MB / 1.05 GB, free: 9.633 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001975/0.8898, allocations: 1.065 MB / 1.051 GB, free: 8.957 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006672/0.8905, allocations: 449.2 kB / 1.052 GB, free: 8.711 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 9.091e-05/0.8906, allocations: 20.97 kB / 1.052 GB, free: 8.691 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/0.8907, allocations: 48.75 kB / 1.052 GB, free: 8.645 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=119): time 3.096e-06/0.8907, allocations: 0 / 1.052 GB, free: 8.645 MB / 0.6667 GB Notification: Performance of matching and sorting (n=119): time 0.001748/0.8924, allocations: 1.023 MB / 1.053 GB, free: 7.934 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.8925, allocations: 68.41 kB / 1.053 GB, free: 7.855 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.8938, allocations: 1.026 MB / 1.054 GB, free: 7.098 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.588e-05/0.8938, allocations: 50.64 kB / 1.054 GB, free: 7.059 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004087/0.8943, allocations: 0.5929 MB / 1.054 GB, free: 6.746 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002844/0.8946, allocations: 391.9 kB / 1.055 GB, free: 6.41 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.143e-05/0.8946, allocations: 19.31 kB / 1.055 GB, free: 6.406 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.8948, allocations: 347 kB / 1.055 GB, free: 6.078 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006076/0.8954, allocations: 363.4 kB / 1.056 GB, free: 5.883 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007186/0.8961, allocations: 488.8 kB / 1.056 GB, free: 5.562 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007581/0.8969, allocations: 424.6 kB / 1.056 GB, free: 5.316 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.8969, allocations: 0 / 1.056 GB, free: 5.316 MB / 0.6667 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001678/0.8986, allocations: 1.094 MB / 1.058 GB, free: 4.559 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 6.38e-05/0.8986, allocations: 112 kB / 1.058 GB, free: 4.453 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.8987, allocations: 0 / 1.058 GB, free: 4.453 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.8987, allocations: 4.109 kB / 1.058 GB, free: 4.449 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.8998, allocations: 265.7 kB / 1.058 GB, free: 4.195 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/0.8999, allocations: 4 kB / 1.058 GB, free: 4.191 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009272/0.9008, allocations: 242.4 kB / 1.058 GB, free: 3.969 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.209e-05/0.9009, allocations: 37.05 kB / 1.058 GB, free: 3.941 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.9009, allocations: 5.875 kB / 1.058 GB, free: 3.938 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001422/0.9023, allocations: 0.9255 MB / 1.059 GB, free: 3.359 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.856e-06/0.9023, allocations: 3.938 kB / 1.059 GB, free: 3.355 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.845e-06/0.9024, allocations: 4 kB / 1.059 GB, free: 3.352 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009329/0.9033, allocations: 218.5 kB / 1.059 GB, free: 3.145 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.9033, allocations: 4 kB / 1.059 GB, free: 3.141 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006892/0.904, allocations: 185.8 kB / 1.059 GB, free: 2.977 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.57e-05/0.9041, allocations: 38.98 kB / 1.059 GB, free: 2.945 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 128 * 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.0002164/0.9043, allocations: 158.4 kB / 1.06 GB, free: 2.816 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/0.9045, allocations: 154.1 kB / 1.06 GB, free: 2.664 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002186/0.9067, allocations: 1.283 MB / 1.061 GB, free: 1.82 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.9068, allocations: 12 kB / 1.061 GB, free: 1.809 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.9068, allocations: 0 / 1.061 GB, free: 1.809 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-05/0.9068, allocations: 11.97 kB / 1.061 GB, free: 1.797 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006731/0.9135, allocations: 4.736 MB / 1.066 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-05/0.9136, allocations: 16 kB / 1.066 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/0.9146, allocations: 280 kB / 1.066 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.28e-05/0.9147, allocations: 24 kB / 1.066 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.009e-05/0.9147, allocations: 43.98 kB / 1.066 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.138e-05/0.9148, allocations: 31.83 kB / 1.066 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-05/0.9148, allocations: 23.92 kB / 1.066 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002573/0.9174, allocations: 2.51 MB / 1.069 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002927/0.9177, allocations: 278.8 kB / 1.069 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/0.9178, allocations: 47.98 kB / 1.069 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009813/0.9188, allocations: 167.9 kB / 1.069 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/0.919, allocations: 132.3 kB / 1.069 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.051e-05/0.9191, allocations: 56 kB / 1.069 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001012/0.9201, allocations: 0.7968 MB / 1.07 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9201, allocations: 3.938 kB / 1.07 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001163/0.9213, allocations: 466.8 kB / 1.07 GB, free: 7.508 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 137 * 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.0002538/0.9216, allocations: 168.7 kB / 1.071 GB, free: 7.336 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002454/0.924, allocations: 1.526 MB / 1.072 GB, free: 5.809 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.269e-06/0.924, allocations: 8.125 kB / 1.072 GB, free: 5.801 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009532/0.925, allocations: 0.6007 MB / 1.073 GB, free: 5.203 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008876/0.9259, allocations: 175.3 kB / 1.073 GB, free: 5.031 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003524/0.9294, allocations: 2.152 MB / 1.075 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007146/0.9302, allocations: 1.209 MB / 1.076 GB, free: 1.426 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001045/0.9312, allocations: 256.4 kB / 1.076 GB, free: 1.168 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000305/0.9315, allocations: 107.3 kB / 1.076 GB, free: 1.062 MB / 0.6823 GB Notification: Performance of SimCode: time 1.202e-06/0.9315, allocations: 0 / 1.076 GB, free: 1.062 MB / 0.6823 GB Notification: Performance of Templates: time 0.02439/0.9559, allocations: 13.71 MB / 1.09 GB, free: 3.398 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches