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.001166/0.001166, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.0009247/0.0009247, allocations: 185 kB / 24.09 MB, free: 416 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.9463/0.9463, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.722/1.722, allocations: 359 MB / 0.6055 GB, free: 10.86 MB / 0.573 GB " [Timeout remaining time 178] 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 1.653e-06/1.653e-06, allocations: 0 / 0.7876 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.427e-05/1.592e-05, allocations: 5.75 kB / 0.7876 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.001354/0.00137, allocations: 0.86 MB / 0.7885 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.002567, allocations: 1.206 MB / 0.7896 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.607e-05/0.002633, allocations: 2.344 kB / 0.7896 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.419e-05/0.002667, allocations: 11.86 kB / 0.7897 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.009e-05/0.002747, allocations: 23.75 kB / 0.7897 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003747/0.003122, allocations: 143.5 kB / 0.7898 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.003274, allocations: 156.7 kB / 0.79 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.003381, allocations: 33.75 kB / 0.79 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.003498, allocations: 83.88 kB / 0.7901 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.579e-05/0.003584, allocations: 53.58 kB / 0.7901 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.003605, allocations: 12 kB / 0.7901 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.49e-05/0.00366, allocations: 23.97 kB / 0.7902 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.258e-05/0.003683, allocations: 22.11 kB / 0.7902 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.901e-05/0.003722, allocations: 39.91 kB / 0.7902 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.003862, allocations: 123.5 kB / 0.7903 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.003864, allocations: 0 / 0.7903 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.51e-07/0.003865, allocations: 0 / 0.7903 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.003868, allocations: 0 / 0.7903 GB, free: 9.328 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.0004389/0.004307, allocations: 463.9 kB / 0.7908 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.004344, allocations: 12.03 kB / 0.7908 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.256e-05/0.004386, allocations: 20.89 kB / 0.7908 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.004521, allocations: 148.4 kB / 0.791 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.004536, allocations: 4.375 kB / 0.791 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.004553, allocations: 13.94 kB / 0.791 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.00468, allocations: 86.88 kB / 0.7911 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.004689, allocations: 4.188 kB / 0.7911 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.004696, allocations: 2.125 kB / 0.7911 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.004703, allocations: 8.125 kB / 0.7911 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.421e-05/0.004737, allocations: 22.05 kB / 0.7911 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003377/0.005075, allocations: 341.1 kB / 0.7914 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.621e-05/0.005151, allocations: 54.97 kB / 0.7915 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.197e-05/0.005173, allocations: 17.62 kB / 0.7915 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.005192, allocations: 7.984 kB / 0.7915 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.392e-05/0.005276, allocations: 77.14 kB / 0.7916 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.005278, allocations: 2.594 kB / 0.7916 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0001431/0.005421, allocations: 89.73 kB / 0.7917 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/0.005445, allocations: 51.41 kB / 0.7917 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.188e-05/0.005526, allocations: 200.4 kB / 0.7919 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.005543, allocations: 25.7 kB / 0.7919 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.91e-05/0.005602, allocations: 154.8 kB / 0.7921 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.316e-05/0.005615, allocations: 23.78 kB / 0.7921 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-05/0.005661, allocations: 44.06 kB / 0.7921 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.005768, allocations: 0.4961 MB / 0.7926 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.764e-05/0.005816, allocations: 50.22 kB / 0.7927 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.793e-05/0.005874, allocations: 98 kB / 0.7928 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.649e-05/0.00595, allocations: 108.4 kB / 0.7929 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.005952, allocations: 0.6562 kB / 0.7929 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001738/0.006126, allocations: 193.9 kB / 0.793 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.006153, allocations: 41.69 kB / 0.7931 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.006157, allocations: 1.156 kB / 0.7931 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.006167, allocations: 4 kB / 0.7931 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.007e-05/0.006227, allocations: 9.375 kB / 0.7931 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.006231, allocations: 7.984 kB / 0.7931 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.751e-05/0.006309, allocations: 27.88 kB / 0.7931 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.006321, allocations: 5.234 kB / 0.7931 GB, free: 6.207 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.272e-05/0.006393, allocations: 169.3 kB / 0.7933 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.08e-05/0.006404, allocations: 11.95 kB / 0.7933 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.451e-05/0.006429, allocations: 9.719 kB / 0.7933 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.006431, allocations: 0 / 0.7933 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.006435, allocations: 4 kB / 0.7933 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.006439, allocations: 0 / 0.7933 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.784e-05/0.006517, allocations: 122 kB / 0.7934 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.006519, allocations: 3.984 kB / 0.7934 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.318e-05/0.006552, allocations: 13 kB / 0.7935 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.006554, allocations: 0 / 0.7935 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.399e-06/0.006558, allocations: 4 kB / 0.7935 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.006559, allocations: 1.438 kB / 0.7935 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.00656, allocations: 3.984 kB / 0.7935 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.378e-05/0.006654, allocations: 116.2 kB / 0.7936 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.949e-06/0.006664, allocations: 13.27 kB / 0.7936 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.006674, allocations: 4 kB / 0.7936 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.805e-05/0.006692, allocations: 7.984 kB / 0.7936 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.559e-05/0.006718, allocations: 0 / 0.7936 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.006722, allocations: 11.02 kB / 0.7936 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.99e-05/0.006762, allocations: 139.2 kB / 0.7937 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006762, allocations: 0 / 0.7937 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001447/0.006907, allocations: 31.89 kB / 0.7938 GB, free: 5.504 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 9.314e-05/0.007, allocations: 103.2 kB / 0.7939 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001384/0.007138, allocations: 157.2 kB / 0.794 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-06/0.007139, allocations: 5.281 kB / 0.794 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.007242, allocations: 27.61 kB / 0.7941 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/0.007386, allocations: 28.97 kB / 0.7941 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002449/0.007631, allocations: 191 kB / 0.7943 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.891e-05/0.00766, allocations: 63.88 kB / 0.7943 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.168e-05/0.007691, allocations: 15.3 kB / 0.7943 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.02e-05/0.007772, allocations: 94.17 kB / 0.7944 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/0.007772, allocations: 2.188 kB / 0.7944 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of Templates: time 0.003078/0.01085, allocations: 1.805 MB / 0.7962 GB, free: 3.031 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: 4.722975226119161]