Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 71.75 kB / 20.97 MB, free: 3.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 169 kB / 24.28 MB, free: 284 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9772/0.9772, allocations: 177.1 MB / 204.6 MB, free: 5.293 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.813/1.813, allocations: 359 MB / 0.6055 GB, free: 11.04 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|retFan.uSupFan_actual|retFan.yRetFan|retFan.u1SupFan|retFan.y1ExhDam",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|retFan.uSupFan_actual|retFan.yRetFan|retFan.u1SupFan|retFan.y1ExhDam",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.355e-06/2.355e-06, allocations: 0 / 0.7872 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.607e-05, allocations: 10.19 kB / 0.7872 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002465/0.002492, allocations: 0.878 MB / 0.788 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001836/0.004328, allocations: 1.206 MB / 0.7892 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.588e-05/0.004414, allocations: 0 / 0.7892 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.936e-05/0.004463, allocations: 12.52 kB / 0.7892 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.00458, allocations: 21 kB / 0.7892 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005954/0.005175, allocations: 147.5 kB / 0.7894 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002633/0.005439, allocations: 152.5 kB / 0.7895 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.005604, allocations: 37.69 kB / 0.7896 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.005771, allocations: 80.75 kB / 0.7896 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.005886, allocations: 55.84 kB / 0.7897 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.362e-05/0.00592, allocations: 13.53 kB / 0.7897 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.62e-05/0.005996, allocations: 20 kB / 0.7897 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.486e-05/0.006031, allocations: 27.91 kB / 0.7897 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.816e-05/0.006109, allocations: 47.89 kB / 0.7898 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.006357, allocations: 128.7 kB / 0.7899 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.00636, allocations: 0 / 0.7899 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.21e-07/0.00636, allocations: 0 / 0.7899 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.006366, allocations: 0.6562 kB / 0.7899 GB, free: 9.949 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006219/0.006988, allocations: 468.6 kB / 0.7904 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.007033, allocations: 8.031 kB / 0.7904 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.112e-05/0.007104, allocations: 20.89 kB / 0.7904 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003249/0.007429, allocations: 167.8 kB / 0.7905 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.00745, allocations: 8.375 kB / 0.7906 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.00747, allocations: 8.375 kB / 0.7906 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.007613, allocations: 100.3 kB / 0.7907 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.00762, allocations: 192 / 0.7907 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.007632, allocations: 384 / 0.7907 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.00764, allocations: 3.938 kB / 0.7907 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.788e-05/0.007698, allocations: 32.56 kB / 0.7907 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.008089, allocations: 360.1 kB / 0.791 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.008197, allocations: 61.14 kB / 0.7911 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.899e-05/0.008236, allocations: 19.67 kB / 0.7911 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.00827, allocations: 4.125 kB / 0.7911 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001101/0.00838, allocations: 73.64 kB / 0.7912 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.008382, allocations: 0.6562 kB / 0.7912 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0002009/0.008582, allocations: 93.73 kB / 0.7913 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.008616, allocations: 52.12 kB / 0.7913 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.008719, allocations: 197.7 kB / 0.7915 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.063e-05/0.00876, allocations: 30.77 kB / 0.7915 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.083e-05/0.008831, allocations: 154.8 kB / 0.7917 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.008848, allocations: 29.14 kB / 0.7917 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.922e-05/0.008907, allocations: 43.36 kB / 0.7918 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.009049, allocations: 0.4884 MB / 0.7922 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.59e-05/0.009134, allocations: 61.69 kB / 0.7923 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.936e-05/0.009214, allocations: 98.27 kB / 0.7924 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.009354, allocations: 112.4 kB / 0.7925 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.009356, allocations: 5.562 kB / 0.7925 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001965/0.009552, allocations: 196.9 kB / 0.7927 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.052e-05/0.009583, allocations: 41.69 kB / 0.7927 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.009587, allocations: 0.9688 kB / 0.7927 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.009601, allocations: 4 kB / 0.7927 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.812e-05/0.009669, allocations: 14.03 kB / 0.7927 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.009675, allocations: 7.984 kB / 0.7928 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.147e-05/0.009757, allocations: 27.88 kB / 0.7928 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.00977, allocations: 4 kB / 0.7928 GB, free: 6.738 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,fanStatus.y,$PRE.fanStatus.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.454e-05/0.009844, allocations: 166.8 kB / 0.7929 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.311e-05/0.009857, allocations: 15.95 kB / 0.793 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.41e-05/0.009882, allocations: 12.38 kB / 0.793 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.009885, allocations: 4 kB / 0.793 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.009888, allocations: 0 / 0.793 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.009893, allocations: 4.438 kB / 0.793 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.79e-05/0.009981, allocations: 152.5 kB / 0.7931 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.009982, allocations: 0.5312 kB / 0.7931 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.849e-05/0.01001, allocations: 17.89 kB / 0.7931 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.01001, allocations: 3.938 kB / 0.7931 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-06/0.01002, allocations: 0 / 0.7931 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-07/0.01002, allocations: 4 kB / 0.7932 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01002, allocations: 0 / 0.7932 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.01028, allocations: 114.9 kB / 0.7933 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.207e-06/0.01029, allocations: 7.953 kB / 0.7933 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.0103, allocations: 4 kB / 0.7933 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.071e-05/0.01032, allocations: 4 kB / 0.7933 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.01036, allocations: 7.984 kB / 0.7933 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.01037, allocations: 0 / 0.7933 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.878e-05/0.01042, allocations: 141.8 kB / 0.7934 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01042, allocations: 0.5312 kB / 0.7934 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001492/0.01057, allocations: 40.84 kB / 0.7935 GB, free: 5.992 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,fanStatus.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001111/0.01068, allocations: 108.4 kB / 0.7936 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001824/0.01086, allocations: 158.2 kB / 0.7937 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.01086, allocations: 7.938 kB / 0.7937 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.707e-05/0.0109, allocations: 24.67 kB / 0.7937 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/0.01107, allocations: 24.91 kB / 0.7938 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003176/0.01138, allocations: 209.7 kB / 0.794 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.767e-05/0.01142, allocations: 63.34 kB / 0.794 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.296e-05/0.01145, allocations: 6.062 kB / 0.794 GB, free: 5.324 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.617e-05/0.01148, allocations: 16.48 kB / 0.794 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.01148, allocations: 0 / 0.794 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of Templates: time 0.00341/0.01489, allocations: 1.644 MB / 0.7957 GB, free: 3.746 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.293353494955227]