Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.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.001449/0.001449, allocations: 85.95 kB / 19.87 MB, free: 4.609 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.001774/0.001774, allocations: 165.7 kB / 23.27 MB, free: 1.215 MB / 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.9618/0.9618, allocations: 177.1 MB / 203.7 MB, free: 5.48 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.324/2.324, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 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.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.8898 GB, free: 9.695 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.615e-05/1.795e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.001594/0.001612, allocations: 1.106 MB / 0.8909 GB, free: 8.586 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.002653, allocations: 1.077 MB / 0.8919 GB, free: 7.496 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.021e-05/0.002723, allocations: 0 / 0.8919 GB, free: 7.496 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 4.435e-05/0.002767, allocations: 23.67 kB / 0.8919 GB, free: 7.473 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.002875, allocations: 43.59 kB / 0.892 GB, free: 7.43 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001987/0.003074, allocations: 83.84 kB / 0.8921 GB, free: 7.348 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.003229, allocations: 224.2 kB / 0.8923 GB, free: 7.129 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.003386, allocations: 100.6 kB / 0.8924 GB, free: 7.027 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002306/0.003616, allocations: 159.6 kB / 0.8925 GB, free: 6.871 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.359e-05/0.00369, allocations: 63.8 kB / 0.8926 GB, free: 6.809 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.576e-05/0.003716, allocations: 20 kB / 0.8926 GB, free: 6.789 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 4.934e-05/0.003765, allocations: 23.98 kB / 0.8926 GB, free: 6.766 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.641e-05/0.003791, allocations: 47.83 kB / 0.8927 GB, free: 6.719 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.027e-05/0.003832, allocations: 63.78 kB / 0.8927 GB, free: 6.656 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.003993, allocations: 155.3 kB / 0.8929 GB, free: 6.504 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.003996, allocations: 3.984 kB / 0.8929 GB, free: 6.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 8.11e-07/0.003997, allocations: 0 / 0.8929 GB, free: 6.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.004, allocations: 0 / 0.8929 GB, free: 6.5 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0004417/0.004442, allocations: 0.5195 MB / 0.8934 GB, free: 5.941 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.004483, allocations: 8.625 kB / 0.8934 GB, free: 5.934 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.004608, allocations: 48.8 kB / 0.8935 GB, free: 5.887 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.004771, allocations: 196.1 kB / 0.8936 GB, free: 5.668 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.004796, allocations: 16.88 kB / 0.8937 GB, free: 5.648 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.004816, allocations: 24.38 kB / 0.8937 GB, free: 5.625 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.004995, allocations: 145.3 kB / 0.8938 GB, free: 5.477 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.005002, allocations: 4.188 kB / 0.8938 GB, free: 5.473 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.005016, allocations: 16.31 kB / 0.8938 GB, free: 5.457 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.005022, allocations: 4.375 kB / 0.8938 GB, free: 5.453 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.587e-05/0.005098, allocations: 59.39 kB / 0.8939 GB, free: 5.395 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004426/0.00554, allocations: 0.4954 MB / 0.8944 GB, free: 4.867 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.00567, allocations: 103.2 kB / 0.8945 GB, free: 4.754 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.37e-05/0.005704, allocations: 35.61 kB / 0.8945 GB, free: 4.715 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.005721, allocations: 4 kB / 0.8945 GB, free: 4.711 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.005741, allocations: 41.38 kB / 0.8946 GB, free: 4.66 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=17): time 1.413e-06/0.005743, allocations: 4 kB / 0.8946 GB, free: 4.656 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17): time 0.0001773/0.00592, allocations: 121.5 kB / 0.8947 GB, free: 4.531 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.005946, allocations: 51.41 kB / 0.8947 GB, free: 4.469 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.006053, allocations: 238.7 kB / 0.895 GB, free: 4.219 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.006066, allocations: 37.64 kB / 0.895 GB, free: 4.176 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.698e-05/0.006133, allocations: 187.2 kB / 0.8952 GB, free: 3.988 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.006161, allocations: 43.64 kB / 0.8952 GB, free: 3.945 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-05/0.006214, allocations: 59.31 kB / 0.8953 GB, free: 3.879 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.006324, allocations: 0.5 MB / 0.8958 GB, free: 3.367 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.186e-05/0.006356, allocations: 19.98 kB / 0.8958 GB, free: 3.348 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.624e-05/0.006412, allocations: 82.08 kB / 0.8959 GB, free: 3.242 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.164e-05/0.006493, allocations: 104 kB / 0.8959 GB, free: 3.117 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.006495, allocations: 0 / 0.8959 GB, free: 3.117 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001297/0.006625, allocations: 139.4 kB / 0.8961 GB, free: 2.977 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.006637, allocations: 8 kB / 0.8961 GB, free: 2.969 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.006643, allocations: 3.984 kB / 0.8961 GB, free: 2.965 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.006652, allocations: 4 kB / 0.8961 GB, free: 2.961 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.401e-05/0.006736, allocations: 35.86 kB / 0.8961 GB, free: 2.926 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.00674, allocations: 4 kB / 0.8961 GB, free: 2.922 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.042e-05/0.00678, allocations: 19.88 kB / 0.8962 GB, free: 2.902 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.006788, allocations: 4 kB / 0.8962 GB, free: 2.898 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.y,actAirSet.occMod.y,actAirSet.cooDowMod.y,actAirSet.setUpMod.y,actAirSet.setBacMod.y,actAirSet.warUpMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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 8.231e-05/0.00687, allocations: 177.5 kB / 0.8963 GB, free: 2.715 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.006896, allocations: 23.91 kB / 0.8964 GB, free: 2.691 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.739e-05/0.006923, allocations: 21.8 kB / 0.8964 GB, free: 2.676 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.006926, allocations: 4 kB / 0.8964 GB, free: 2.672 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.006929, allocations: 3.938 kB / 0.8964 GB, free: 2.668 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.006932, allocations: 0 / 0.8964 GB, free: 2.668 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.007062, allocations: 153.1 kB / 0.8965 GB, free: 2.492 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.007063, allocations: 4 kB / 0.8965 GB, free: 2.488 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.678e-05/0.00711, allocations: 23.92 kB / 0.8966 GB, free: 2.465 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.007113, allocations: 7.984 kB / 0.8966 GB, free: 2.457 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.00712, allocations: 4 kB / 0.8966 GB, free: 2.453 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.007121, allocations: 0 / 0.8966 GB, free: 2.453 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.007122, allocations: 0 / 0.8966 GB, free: 2.453 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.007268, allocations: 255.7 kB / 0.8968 GB, free: 2.184 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.39e-05/0.007282, allocations: 19.84 kB / 0.8968 GB, free: 2.164 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.007299, allocations: 11.98 kB / 0.8968 GB, free: 2.152 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.281e-05/0.007342, allocations: 4 kB / 0.8968 GB, free: 2.148 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.007387, allocations: 15.97 kB / 0.8969 GB, free: 2.133 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.007393, allocations: 8 kB / 0.8969 GB, free: 2.125 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.925e-05/0.007452, allocations: 172.5 kB / 0.897 GB, free: 1.957 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.007453, allocations: 0 / 0.897 GB, free: 1.957 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001654/0.007618, allocations: 39.89 kB / 0.8971 GB, free: 1.918 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: 10 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 7.065e-05/0.007689, allocations: 105.1 kB / 0.8972 GB, free: 1.805 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001095/0.007798, allocations: 85.98 kB / 0.8972 GB, free: 1.719 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.007799, allocations: 0 / 0.8972 GB, free: 1.719 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.647e-05/0.007846, allocations: 51.91 kB / 0.8973 GB, free: 1.664 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/0.008032, allocations: 31.92 kB / 0.8973 GB, free: 1.633 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000488/0.00852, allocations: 326.7 kB / 0.8976 GB, free: 1.285 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.178e-05/0.008561, allocations: 75.98 kB / 0.8977 GB, free: 1.191 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.764e-05/0.008619, allocations: 21.48 kB / 0.8977 GB, free: 1.172 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.873e-05/0.008698, allocations: 102.2 kB / 0.8978 GB, free: 1.07 MB / 0.8542 GB Notification: Performance of SimCode: time 9.01e-07/0.008699, allocations: 0 / 0.8978 GB, free: 1.07 MB / 0.8542 GB Notification: Performance of Templates: time 0.003344/0.01204, allocations: 1.635 MB / 0.8994 GB, free: 15.51 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.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.2444576900452375]