Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.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.Obsolete.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_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u") translateModel(Buildings.Obsolete.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_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.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.375/2.375, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001365/0.001365, allocations: 190.6 kB / 0.4902 GB, free: 2.207 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.565/1.565, allocations: 223.1 MB / 0.7992 GB, free: 14.59 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.001012/0.001012, allocations: 104.1 kB / 0.9396 GB, free: 1.781 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004083/0.0004082, allocations: 6.906 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2741, allocations: 143 MB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1947/0.4689, allocations: 153.3 MB / 1.379 GB, free: 36 kB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/0.4692, allocations: 91.91 kB / 1.379 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.04839/0.5176, allocations: 18.66 MB / 1.397 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.404e-06/0.5176, allocations: 0 / 1.397 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001259/0.5178, allocations: 43.98 kB / 1.397 GB, free: 13.2 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.004126/0.5219, allocations: 1.616 MB / 1.399 GB, free: 11.53 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 6.035e-05/0.522, allocations: 8.562 kB / 1.399 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007863/0.5228, allocations: 181.8 kB / 1.399 GB, free: 11.34 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001765/0.5246, allocations: 0.7787 MB / 1.4 GB, free: 10.52 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/0.5247, allocations: 123.3 kB / 1.4 GB, free: 10.4 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003646/0.5251, allocations: 160 kB / 1.4 GB, free: 10.24 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003807/0.5289, allocations: 1.484 MB / 1.402 GB, free: 8.742 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.688e-05/0.529, allocations: 0 / 1.402 GB, free: 8.742 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001791/0.5292, allocations: 68 kB / 1.402 GB, free: 8.676 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.38e-05/0.5292, allocations: 39.94 kB / 1.402 GB, free: 8.637 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00322/0.5324, allocations: 1.461 MB / 1.403 GB, free: 7.172 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009285/0.5417, allocations: 4.793 MB / 1.408 GB, free: 2.305 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002649/0.5444, allocations: 1.177 MB / 1.409 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.718e-05/0.5445, allocations: 28.97 kB / 1.409 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.626e-05/0.5446, allocations: 47.7 kB / 1.409 GB, free: 1.023 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=110): time 4.409e-06/0.5446, allocations: 3.938 kB / 1.409 GB, free: 1.02 MB / 0.9011 GB Notification: Performance of matching and sorting (n=110): time 0.003129/0.5477, allocations: 1.444 MB / 1.41 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.099e-05/0.5478, allocations: 60.41 kB / 1.41 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001786/0.5496, allocations: 1.096 MB / 1.412 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001049/0.5497, allocations: 53.7 kB / 1.412 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005493/0.5503, allocations: 0.6183 MB / 1.412 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003388/0.5506, allocations: 366.7 kB / 1.413 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.578e-05/0.5507, allocations: 27.88 kB / 1.413 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.5509, allocations: 345.9 kB / 1.413 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009996/0.5519, allocations: 482.4 kB / 1.413 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/0.553, allocations: 0.5994 MB / 1.414 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.5541, allocations: 0.5218 MB / 1.414 GB, free: 11.37 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.5541, allocations: 0 / 1.414 GB, free: 11.37 MB / 0.9167 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002658/0.5568, allocations: 1.327 MB / 1.416 GB, free: 10.03 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001516/0.5569, allocations: 283.8 kB / 1.416 GB, free: 9.738 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/0.557, allocations: 0 / 1.416 GB, free: 9.738 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.261e-05/0.557, allocations: 8 kB / 1.416 GB, free: 9.73 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.5581, allocations: 279.6 kB / 1.416 GB, free: 9.457 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.45e-05/0.5582, allocations: 4 kB / 1.416 GB, free: 9.453 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.5593, allocations: 265.9 kB / 1.417 GB, free: 9.191 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.63e-05/0.5594, allocations: 44.05 kB / 1.417 GB, free: 9.148 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.5594, allocations: 4 kB / 1.417 GB, free: 9.145 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001763/0.5612, allocations: 1.007 MB / 1.418 GB, free: 8.137 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.5612, allocations: 0 / 1.418 GB, free: 8.137 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.5612, allocations: 16.05 kB / 1.418 GB, free: 8.121 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009082/0.5621, allocations: 231.7 kB / 1.418 GB, free: 7.895 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.677e-05/0.5622, allocations: 4 kB / 1.418 GB, free: 7.891 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008406/0.563, allocations: 194.1 kB / 1.418 GB, free: 7.699 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.726e-05/0.5631, allocations: 39.98 kB / 1.418 GB, free: 7.66 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0007131/0.5638, allocations: 360.9 kB / 1.418 GB, free: 7.297 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002885/0.5641, allocations: 142.2 kB / 1.419 GB, free: 7.156 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002536/0.5666, allocations: 1.3 MB / 1.42 GB, free: 5.844 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.5667, allocations: 12 kB / 1.42 GB, free: 5.832 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/0.5667, allocations: 4 kB / 1.42 GB, free: 5.828 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.5667, allocations: 3.984 kB / 1.42 GB, free: 5.824 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006517/0.5732, allocations: 3.956 MB / 1.424 GB, free: 1.664 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.335e-05/0.5733, allocations: 11.98 kB / 1.424 GB, free: 1.652 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009344/0.5742, allocations: 255.6 kB / 1.424 GB, free: 1.402 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.801e-05/0.5743, allocations: 16 kB / 1.424 GB, free: 1.387 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.84e-05/0.5744, allocations: 44.14 kB / 1.424 GB, free: 1.344 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.181e-05/0.5744, allocations: 23.92 kB / 1.424 GB, free: 1.32 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-05/0.5744, allocations: 19.94 kB / 1.424 GB, free: 1.301 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.612/1.186, allocations: 2.322 MB / 1.426 GB, free: 177.7 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004493/1.187, allocations: 280.5 kB / 1.427 GB, free: 177.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/1.187, allocations: 38.78 kB / 1.427 GB, free: 177.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009341/1.188, allocations: 156.2 kB / 1.427 GB, free: 177.6 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001993/1.188, allocations: 117.1 kB / 1.427 GB, free: 177.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.816e-05/1.188, allocations: 54.48 kB / 1.427 GB, free: 177.6 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001273/1.19, allocations: 0.8609 MB / 1.428 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.7e-07/1.19, allocations: 0 / 1.428 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001345/1.191, allocations: 472.5 kB / 1.428 GB, free: 177.4 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0002766/1.191, allocations: 170.8 kB / 1.428 GB, free: 177.4 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003518/1.195, allocations: 1.665 MB / 1.43 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/1.195, allocations: 2.781 kB / 1.43 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001238/1.196, allocations: 0.599 MB / 1.431 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009987/1.197, allocations: 164.5 kB / 1.431 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005438/1.202, allocations: 2.918 MB / 1.434 GB, free: 175.7 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001387/1.204, allocations: 1.186 MB / 1.435 GB, free: 175 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001287/1.205, allocations: 202.1 kB / 1.435 GB, free: 175 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004341/1.206, allocations: 120.7 kB / 1.435 GB, free: 175 MB / 0.9167 GB Notification: Performance of SimCode: time 1.633e-06/1.206, allocations: 0 / 1.435 GB, free: 175 MB / 0.9167 GB Notification: Performance of Templates: time 0.02837/1.234, allocations: 11.35 MB / 1.446 GB, free: 174.5 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u.csv","../files/Buildings_latest_Buildings.Obsolete.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