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.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.001334/0.001334, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.001717/0.001717, allocations: 169 kB / 24.06 MB, free: 456 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.9264/0.9264, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.178/2.178, allocations: 429.5 MB / 0.6743 GB, free: 3.926 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.8795 GB, free: 5.953 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.389e-05/1.557e-05, allocations: 5.75 kB / 0.8795 GB, free: 5.949 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.001355/0.00137, allocations: 0.8821 MB / 0.8803 GB, free: 5.098 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.002447, allocations: 1.212 MB / 0.8815 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.44e-05/0.002502, allocations: 4 kB / 0.8815 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.917e-05/0.002531, allocations: 7.875 kB / 0.8815 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.383e-05/0.002605, allocations: 19.55 kB / 0.8815 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000341/0.002946, allocations: 144.6 kB / 0.8817 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.0031, allocations: 155.7 kB / 0.8818 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.003201, allocations: 42.83 kB / 0.8819 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.003315, allocations: 91.8 kB / 0.8819 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.122e-05/0.003397, allocations: 41.09 kB / 0.882 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.003418, allocations: 19.92 kB / 0.882 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.936e-05/0.003468, allocations: 16 kB / 0.882 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.462e-05/0.003492, allocations: 21.89 kB / 0.882 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.236e-05/0.003535, allocations: 47.89 kB / 0.8821 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.003671, allocations: 111.6 kB / 0.8822 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.003673, allocations: 0 / 0.8822 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.01e-07/0.003674, allocations: 0 / 0.8822 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.003678, allocations: 2.562 kB / 0.8822 GB, free: 3.168 MB / 0.8386 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.0004028/0.004081, allocations: 465.9 kB / 0.8826 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.641e-05/0.004107, allocations: 12.03 kB / 0.8827 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.078e-05/0.004148, allocations: 24.84 kB / 0.8827 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.004268, allocations: 148.4 kB / 0.8828 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.004282, allocations: 8.375 kB / 0.8828 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.004299, allocations: 13.09 kB / 0.8828 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.004403, allocations: 84.56 kB / 0.8829 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.004409, allocations: 192 / 0.8829 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/0.004418, allocations: 8.375 kB / 0.8829 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.004423, allocations: 4.125 kB / 0.8829 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.433e-05/0.004457, allocations: 22.39 kB / 0.883 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002915/0.004749, allocations: 349.8 kB / 0.8833 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.369e-05/0.004812, allocations: 54.97 kB / 0.8833 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.25e-05/0.004835, allocations: 25.38 kB / 0.8834 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.004847, allocations: 4 kB / 0.8834 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.86e-05/0.004915, allocations: 61.05 kB / 0.8834 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.004916, allocations: 4 kB / 0.8834 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0001366/0.005053, allocations: 93.72 kB / 0.8835 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.276e-05/0.005076, allocations: 51.41 kB / 0.8836 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.946e-05/0.005145, allocations: 193 kB / 0.8838 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.00516, allocations: 29.7 kB / 0.8838 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.694e-05/0.005217, allocations: 154.8 kB / 0.8839 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.495e-05/0.005232, allocations: 27.75 kB / 0.884 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.536e-05/0.005278, allocations: 43.33 kB / 0.884 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.418e-05/0.005372, allocations: 0.4922 MB / 0.8845 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.617e-05/0.005418, allocations: 53.67 kB / 0.8845 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.792e-05/0.005476, allocations: 108.3 kB / 0.8846 GB, free: 468 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.301e-05/0.005549, allocations: 104.4 kB / 0.8847 GB, free: 340 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.005551, allocations: 0 / 0.8847 GB, free: 340 kB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001685/0.005719, allocations: 188.9 kB / 0.8849 GB, free: 132 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.005744, allocations: 40.05 kB / 0.8849 GB, free: 88 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.005749, allocations: 4 kB / 0.885 GB, free: 84 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.705e-06/0.005757, allocations: 4.094 kB / 0.885 GB, free: 80 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.914e-05/0.005816, allocations: 15.98 kB / 0.885 GB, free: 64 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.005819, allocations: 7.938 kB / 0.885 GB, free: 56 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.892e-05/0.005898, allocations: 23.97 kB / 0.885 GB, free: 32 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.005911, allocations: 8 kB / 0.885 GB, free: 24 kB / 0.8386 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.407e-05/0.005985, allocations: 160.5 kB / 0.8852 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.304e-05/0.005998, allocations: 15.95 kB / 0.8852 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.374e-05/0.006022, allocations: 8.438 kB / 0.8852 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.006025, allocations: 7.984 kB / 0.8852 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.006027, allocations: 4 kB / 0.8852 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.00603, allocations: 0 / 0.8852 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.653e-05/0.006107, allocations: 125.1 kB / 0.8853 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.006108, allocations: 3.938 kB / 0.8853 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.869e-05/0.006136, allocations: 11.98 kB / 0.8853 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.00614, allocations: 4 kB / 0.8853 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-06/0.006144, allocations: 0 / 0.8853 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.006145, allocations: 3.938 kB / 0.8853 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.006146, allocations: 0 / 0.8853 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.521e-05/0.006231, allocations: 116.3 kB / 0.8855 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.658e-06/0.006241, allocations: 11.95 kB / 0.8855 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.786e-06/0.00625, allocations: 0 / 0.8855 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.765e-05/0.006267, allocations: 4 kB / 0.8855 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.771e-05/0.006295, allocations: 11.98 kB / 0.8855 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.006299, allocations: 0 / 0.8855 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.459e-05/0.006333, allocations: 135.2 kB / 0.8856 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.006334, allocations: 0 / 0.8856 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001395/0.006473, allocations: 31.94 kB / 0.8856 GB, free: 15.31 MB / 0.8542 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 8.215e-05/0.006555, allocations: 107.2 kB / 0.8857 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001478/0.006703, allocations: 152.7 kB / 0.8859 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.51e-07/0.006704, allocations: 4 kB / 0.8859 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.014e-05/0.006734, allocations: 31.61 kB / 0.8859 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.00688, allocations: 24.7 kB / 0.8859 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002417/0.007121, allocations: 190.4 kB / 0.8861 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.838e-05/0.00715, allocations: 67.52 kB / 0.8862 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.859e-05/0.007178, allocations: 8.5 kB / 0.8862 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.181e-05/0.00726, allocations: 102.2 kB / 0.8863 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of SimCode: time 8.91e-07/0.007261, allocations: 0 / 0.8863 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of Templates: time 0.003055/0.01032, allocations: 1.822 MB / 0.8881 GB, free: 12.8 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.378815564792603]