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.001194/0.001194, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001467/0.001467, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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 1.012/1.012, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.773/1.773, allocations: 359 MB / 0.6052 GB, free: 10.98 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 3.096e-06/3.096e-06, allocations: 0 / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.099e-05/3.408e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002121/0.002155, allocations: 1.153 MB / 0.7883 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.003429, allocations: 1.074 MB / 0.7893 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.003549, allocations: 4.562 kB / 0.7893 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.683e-05/0.003606, allocations: 19.73 kB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.003739, allocations: 36.83 kB / 0.7894 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003006/0.004039, allocations: 88.72 kB / 0.7894 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.004257, allocations: 232.1 kB / 0.7897 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001937/0.00445, allocations: 92.59 kB / 0.7898 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002819/0.004732, allocations: 144.3 kB / 0.7899 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.004838, allocations: 69.03 kB / 0.79 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.94e-05/0.004878, allocations: 24 kB / 0.79 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.161e-05/0.004939, allocations: 32 kB / 0.79 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.464e-05/0.004974, allocations: 52.33 kB / 0.7901 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.483e-05/0.005029, allocations: 63.83 kB / 0.7901 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002377/0.005267, allocations: 168 kB / 0.7903 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.00527, allocations: 0 / 0.7903 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.764e-06/0.005272, allocations: 1 kB / 0.7903 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.005278, allocations: 0 / 0.7903 GB, free: 9.23 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.0005671/0.005845, allocations: 0.5164 MB / 0.7908 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.005886, allocations: 8.031 kB / 0.7908 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.006042, allocations: 51.42 kB / 0.7908 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.00634, allocations: 222.6 kB / 0.7911 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.864e-05/0.006369, allocations: 16.88 kB / 0.7911 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.006393, allocations: 20.38 kB / 0.7911 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.006649, allocations: 167 kB / 0.7913 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.006659, allocations: 192 / 0.7913 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.006674, allocations: 4.375 kB / 0.7913 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.006684, allocations: 4.375 kB / 0.7913 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.006812, allocations: 87.47 kB / 0.7913 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006243/0.007436, allocations: 0.519 MB / 0.7918 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.007638, allocations: 116 kB / 0.792 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.666e-05/0.007694, allocations: 37.05 kB / 0.792 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.007718, allocations: 4 kB / 0.792 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.007749, allocations: 41.38 kB / 0.792 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=17): time 1.763e-06/0.007751, allocations: 0 / 0.792 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17): time 0.0002665/0.008018, allocations: 139.3 kB / 0.7922 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.008051, allocations: 59.39 kB / 0.7922 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.008191, allocations: 234.2 kB / 0.7925 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.008207, allocations: 29.7 kB / 0.7925 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.433e-05/0.008291, allocations: 192.6 kB / 0.7927 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.008322, allocations: 47.72 kB / 0.7927 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.892e-05/0.008391, allocations: 59.34 kB / 0.7928 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.008525, allocations: 0.4961 MB / 0.7933 GB, free: 6 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.442e-05/0.008579, allocations: 28.5 kB / 0.7933 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.695e-05/0.008656, allocations: 84.05 kB / 0.7934 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.008782, allocations: 118 kB / 0.7935 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.008784, allocations: 0 / 0.7935 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001781/0.008962, allocations: 147.5 kB / 0.7936 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.008977, allocations: 4 kB / 0.7936 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.008984, allocations: 4.531 kB / 0.7936 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.009, allocations: 4.656 kB / 0.7936 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.009119, allocations: 31.92 kB / 0.7937 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.009126, allocations: 0.5312 kB / 0.7937 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.643e-05/0.009183, allocations: 29.5 kB / 0.7937 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.009193, allocations: 4 kB / 0.7937 GB, free: 5.508 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.warUpMod.y,actAirSet.setBacMod.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.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.0001004/0.009293, allocations: 169.2 kB / 0.7938 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.009323, allocations: 24.44 kB / 0.7939 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.905e-05/0.009362, allocations: 21.8 kB / 0.7939 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.009367, allocations: 8.719 kB / 0.7939 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.009371, allocations: 0 / 0.7939 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.009374, allocations: 1.125 kB / 0.7939 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.009549, allocations: 196.5 kB / 0.7941 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.009551, allocations: 0 / 0.7941 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.551e-05/0.009607, allocations: 16.95 kB / 0.7941 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.009612, allocations: 4 kB / 0.7941 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.009623, allocations: 4.719 kB / 0.7941 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.009625, allocations: 0 / 0.7941 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.009628, allocations: 12.92 kB / 0.7941 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001929/0.009821, allocations: 269.9 kB / 0.7944 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.512e-05/0.009836, allocations: 15.84 kB / 0.7944 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.009851, allocations: 0.8438 kB / 0.7944 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.181e-05/0.009903, allocations: 11.98 kB / 0.7944 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.372e-05/0.009967, allocations: 25.41 kB / 0.7944 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.009976, allocations: 8 kB / 0.7944 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.516e-05/0.01004, allocations: 152.9 kB / 0.7946 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01004, allocations: 0 / 0.7946 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001894/0.01023, allocations: 44.92 kB / 0.7946 GB, free: 4.484 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.0001007/0.01033, allocations: 105.3 kB / 0.7947 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000176/0.01051, allocations: 103.4 kB / 0.7948 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01051, allocations: 2.312 kB / 0.7948 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.443e-05/0.01057, allocations: 55.59 kB / 0.7949 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.0108, allocations: 21.31 kB / 0.7949 GB, free: 4.191 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000723/0.01152, allocations: 345.2 kB / 0.7952 GB, free: 3.832 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.96e-05/0.01158, allocations: 75.98 kB / 0.7953 GB, free: 3.738 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.191e-05/0.01165, allocations: 28.44 kB / 0.7953 GB, free: 3.719 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.355e-05/0.0117, allocations: 24.5 kB / 0.7954 GB, free: 3.695 MB / 0.7448 GB Notification: Performance of SimCode: time 8.82e-07/0.01171, allocations: 0 / 0.7954 GB, free: 3.695 MB / 0.7448 GB Notification: Performance of Templates: time 0.003843/0.01555, allocations: 1.481 MB / 0.7968 GB, free: 2.285 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: 5.385567530989647]