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.001239/0.001239, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.00102/0.00102, allocations: 161.4 kB / 23.82 MB, free: 0.75 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.9408/0.9408, allocations: 177.1 MB / 204.2 MB, free: 5.305 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.723/1.723, allocations: 359 MB / 0.6052 GB, free: 11.04 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.386e-06/3.386e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.277e-05/3.616e-05, allocations: 6.25 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.003182/0.003218, allocations: 1.135 MB / 0.7883 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001552/0.004771, allocations: 1.07 MB / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.004903, allocations: 4.844 kB / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 7.215e-05/0.004975, allocations: 23.67 kB / 0.7893 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001625/0.005138, allocations: 44.91 kB / 0.7894 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003383/0.005476, allocations: 83.84 kB / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002714/0.005747, allocations: 233 kB / 0.7897 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00022/0.005967, allocations: 92.58 kB / 0.7898 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003542/0.006321, allocations: 152.3 kB / 0.7899 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.006469, allocations: 65.03 kB / 0.79 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.916e-05/0.006508, allocations: 27.88 kB / 0.79 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.394e-05/0.006572, allocations: 24 kB / 0.79 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.006612, allocations: 49.39 kB / 0.7901 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.244e-05/0.006674, allocations: 55.84 kB / 0.7901 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.006935, allocations: 159.3 kB / 0.7903 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.006938, allocations: 0 / 0.7903 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.102e-06/0.00694, allocations: 5.219 kB / 0.7903 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.006945, allocations: 0 / 0.7903 GB, free: 9.266 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.000639/0.007584, allocations: 0.5041 MB / 0.7908 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.007635, allocations: 13.62 kB / 0.7908 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002587/0.007893, allocations: 40.8 kB / 0.7908 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.008154, allocations: 202.2 kB / 0.791 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.555e-05/0.00819, allocations: 25.91 kB / 0.791 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.008218, allocations: 20.38 kB / 0.7911 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003434/0.008562, allocations: 168.5 kB / 0.7912 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.008574, allocations: 4.188 kB / 0.7912 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.299e-05/0.008597, allocations: 8.375 kB / 0.7912 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.00861, allocations: 8.375 kB / 0.7912 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001818/0.008792, allocations: 74.89 kB / 0.7913 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000759/0.009551, allocations: 0.5183 MB / 0.7918 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002397/0.009791, allocations: 119.8 kB / 0.7919 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.742e-05/0.009858, allocations: 31.67 kB / 0.792 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.009877, allocations: 5.656 kB / 0.792 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.009904, allocations: 37.39 kB / 0.792 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=17): time 2.094e-06/0.009906, allocations: 4 kB / 0.792 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17): time 0.0003361/0.01024, allocations: 140.5 kB / 0.7921 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.01028, allocations: 55.41 kB / 0.7922 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.01044, allocations: 230.3 kB / 0.7924 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.01046, allocations: 31.39 kB / 0.7924 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004937/0.01095, allocations: 191.2 kB / 0.7926 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.281e-05/0.011, allocations: 47.64 kB / 0.7927 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.01114, allocations: 63.3 kB / 0.7927 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.01133, allocations: 0.5013 MB / 0.7932 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.447e-05/0.01138, allocations: 19.98 kB / 0.7932 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.901e-05/0.01146, allocations: 88.16 kB / 0.7933 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.01157, allocations: 115.9 kB / 0.7934 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.01157, allocations: 1.688 kB / 0.7934 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001713/0.01175, allocations: 144.9 kB / 0.7936 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.01176, allocations: 4 kB / 0.7936 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.01177, allocations: 4 kB / 0.7936 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.01178, allocations: 8.453 kB / 0.7936 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.0119, allocations: 36.44 kB / 0.7936 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.0119, allocations: 0.5312 kB / 0.7936 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.954e-05/0.01195, allocations: 21.08 kB / 0.7936 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.01196, allocations: 4 kB / 0.7936 GB, free: 5.582 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 9.763e-05/0.01206, allocations: 181 kB / 0.7938 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.01209, allocations: 25.28 kB / 0.7938 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.963e-05/0.01212, allocations: 13.81 kB / 0.7939 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.01212, allocations: 7.938 kB / 0.7939 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.01213, allocations: 1.156 kB / 0.7939 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.01213, allocations: 0 / 0.7939 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.01228, allocations: 188.6 kB / 0.794 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.01229, allocations: 0.8125 kB / 0.794 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.08e-05/0.01234, allocations: 19.97 kB / 0.7941 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.01234, allocations: 4.938 kB / 0.7941 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.01235, allocations: 4 kB / 0.7941 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.01235, allocations: 0 / 0.7941 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.01235, allocations: 5.281 kB / 0.7941 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.01254, allocations: 271.7 kB / 0.7943 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.405e-05/0.01255, allocations: 19.83 kB / 0.7944 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.01257, allocations: 8.812 kB / 0.7944 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.373e-05/0.01261, allocations: 4 kB / 0.7944 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.056e-05/0.01268, allocations: 22.16 kB / 0.7944 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.01269, allocations: 11.98 kB / 0.7944 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.948e-05/0.01278, allocations: 160.9 kB / 0.7945 GB, free: 4.594 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01278, allocations: 0 / 0.7945 GB, free: 4.594 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002856/0.01307, allocations: 43.84 kB / 0.7946 GB, free: 4.551 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 9.426e-05/0.01316, allocations: 106.7 kB / 0.7947 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001685/0.01333, allocations: 102.1 kB / 0.7948 GB, free: 4.34 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01333, allocations: 0 / 0.7948 GB, free: 4.34 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.052e-05/0.01339, allocations: 55.59 kB / 0.7948 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.01361, allocations: 28.48 kB / 0.7949 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008897/0.0145, allocations: 339.5 kB / 0.7952 GB, free: 3.898 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.559e-05/0.01455, allocations: 75.98 kB / 0.7953 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.333e-05/0.01461, allocations: 20.89 kB / 0.7953 GB, free: 3.789 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.847e-05/0.01466, allocations: 28.48 kB / 0.7953 GB, free: 3.762 MB / 0.7448 GB Notification: Performance of SimCode: time 6.41e-07/0.01466, allocations: 0 / 0.7953 GB, free: 3.762 MB / 0.7448 GB Notification: Performance of Templates: time 0.003711/0.01837, allocations: 1.559 MB / 0.7968 GB, free: 2.281 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.843410803005099]