Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009123/0.0009123, allocations: 81.95 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.0008966/0.0008966, allocations: 185.3 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 1.016/1.016, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.74/1.74, allocations: 359 MB / 0.6055 GB, free: 10.88 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.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_11_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_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 0 / 0.7876 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.346e-05/3.619e-05, allocations: 4.703 kB / 0.7876 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002732/0.002768, allocations: 1.103 MB / 0.7887 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001594/0.004362, allocations: 1.07 MB / 0.7897 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.004486, allocations: 6.469 kB / 0.7897 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 6.536e-05/0.004551, allocations: 27.66 kB / 0.7898 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.004704, allocations: 31.62 kB / 0.7898 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003103/0.005014, allocations: 83.84 kB / 0.7899 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002518/0.005266, allocations: 236.1 kB / 0.7901 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002239/0.005489, allocations: 98.33 kB / 0.7902 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00036/0.005849, allocations: 155.5 kB / 0.7903 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.005968, allocations: 63.8 kB / 0.7904 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.225e-05/0.00601, allocations: 20 kB / 0.7904 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.781e-05/0.006088, allocations: 24.59 kB / 0.7904 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.316e-05/0.006131, allocations: 40.38 kB / 0.7905 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.308e-05/0.006194, allocations: 67.81 kB / 0.7905 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.006448, allocations: 152.4 kB / 0.7907 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.00645, allocations: 0 / 0.7907 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.022e-06/0.006451, allocations: 4 kB / 0.7907 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.006456, allocations: 1.156 kB / 0.7907 GB, free: 8.988 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.000564/0.00702, allocations: 0.5118 MB / 0.7912 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.007067, allocations: 17.39 kB / 0.7912 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.007224, allocations: 40.8 kB / 0.7912 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.007437, allocations: 198.2 kB / 0.7914 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.311e-05/0.00747, allocations: 22.62 kB / 0.7915 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.007495, allocations: 20.31 kB / 0.7915 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.007789, allocations: 149.4 kB / 0.7916 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.0078, allocations: 4.172 kB / 0.7916 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.007818, allocations: 13.75 kB / 0.7916 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.007828, allocations: 4.375 kB / 0.7916 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.00795, allocations: 63.38 kB / 0.7917 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006687/0.008619, allocations: 0.4939 MB / 0.7922 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.008813, allocations: 103.1 kB / 0.7923 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.778e-05/0.008871, allocations: 33.23 kB / 0.7923 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.008892, allocations: 4 kB / 0.7923 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.008915, allocations: 35.98 kB / 0.7923 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=17): time 1.943e-06/0.008917, allocations: 0 / 0.7923 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17): time 0.0002787/0.009196, allocations: 129.4 kB / 0.7925 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.009234, allocations: 55.41 kB / 0.7925 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.009409, allocations: 238.2 kB / 0.7928 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.009427, allocations: 25.7 kB / 0.7928 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.009538, allocations: 191.7 kB / 0.793 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.298e-05/0.009581, allocations: 44.34 kB / 0.793 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.935e-05/0.00967, allocations: 67.25 kB / 0.7931 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.009827, allocations: 0.5005 MB / 0.7936 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.902e-05/0.009876, allocations: 17.64 kB / 0.7936 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.075e-05/0.009957, allocations: 82.08 kB / 0.7936 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.01008, allocations: 113 kB / 0.7938 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.01009, allocations: 0.7812 kB / 0.7938 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002029/0.01029, allocations: 133.6 kB / 0.7939 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.0103, allocations: 4 kB / 0.7939 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.01031, allocations: 1.25 kB / 0.7939 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.01032, allocations: 7.984 kB / 0.7939 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.01046, allocations: 35.86 kB / 0.7939 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.01047, allocations: 4.844 kB / 0.7939 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.333e-05/0.01054, allocations: 15.89 kB / 0.794 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.01055, allocations: 9.312 kB / 0.794 GB, free: 5.41 MB / 0.7448 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 0.0001096/0.01066, allocations: 172.5 kB / 0.7941 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.178e-05/0.01071, allocations: 21.12 kB / 0.7941 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.096e-05/0.01075, allocations: 17.81 kB / 0.7942 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.01075, allocations: 3.938 kB / 0.7942 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.01076, allocations: 13.77 kB / 0.7942 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.01076, allocations: 3.984 kB / 0.7942 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.01097, allocations: 153.2 kB / 0.7943 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.01097, allocations: 0 / 0.7943 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.743e-05/0.01107, allocations: 27.92 kB / 0.7944 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.01107, allocations: 2.5 kB / 0.7944 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.01108, allocations: 0 / 0.7944 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.01108, allocations: 0 / 0.7944 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.01108, allocations: 0 / 0.7944 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002346/0.01132, allocations: 271.6 kB / 0.7946 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.84e-05/0.01133, allocations: 15.84 kB / 0.7946 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.01135, allocations: 0.5 kB / 0.7946 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.336e-05/0.01144, allocations: 13.86 kB / 0.7946 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.269e-05/0.01151, allocations: 19.97 kB / 0.7947 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.01151, allocations: 0 / 0.7947 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.204e-05/0.0116, allocations: 164.8 kB / 0.7948 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.0116, allocations: 0 / 0.7948 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002725/0.01187, allocations: 41.03 kB / 0.7949 GB, free: 4.438 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: 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 0.0001033/0.01197, allocations: 113.8 kB / 0.795 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001754/0.01215, allocations: 94.25 kB / 0.7951 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01215, allocations: 0.7188 kB / 0.7951 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.571e-05/0.01223, allocations: 54.75 kB / 0.7951 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.01245, allocations: 16 kB / 0.7951 GB, free: 4.156 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005229/0.01297, allocations: 330.7 kB / 0.7954 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.625e-05/0.01302, allocations: 75.98 kB / 0.7955 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.206e-05/0.01308, allocations: 23.84 kB / 0.7955 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.711e-05/0.01316, allocations: 102.2 kB / 0.7956 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of SimCode: time 6.31e-07/0.01316, allocations: 0 / 0.7956 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of Templates: time 0.003295/0.01645, allocations: 1.625 MB / 0.7972 GB, free: 2.039 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.836874502245337]