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.0009228/0.0009228, allocations: 77.09 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.0009245/0.0009245, 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 1.033/1.033, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.246/2.246, allocations: 429.5 MB / 0.6743 GB, free: 3.914 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.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 2.034e-06/2.034e-06, allocations: 0 / 0.8794 GB, free: 5.949 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.258e-05/3.461e-05, allocations: 6.297 kB / 0.8794 GB, free: 5.945 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002073/0.002108, allocations: 1.121 MB / 0.8805 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001396/0.003504, allocations: 1.067 MB / 0.8816 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.003612, allocations: 0 / 0.8816 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.364e-05/0.003666, allocations: 19.73 kB / 0.8816 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.003808, allocations: 45.08 kB / 0.8816 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.00408, allocations: 83.91 kB / 0.8817 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.004271, allocations: 229.2 kB / 0.8819 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/0.004484, allocations: 92.59 kB / 0.882 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003204/0.004804, allocations: 165 kB / 0.8822 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.682e-05/0.004901, allocations: 59.8 kB / 0.8822 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.034e-05/0.004931, allocations: 20 kB / 0.8823 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.976e-05/0.004991, allocations: 24 kB / 0.8823 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.555e-05/0.005026, allocations: 48.89 kB / 0.8823 GB, free: 3 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.006e-05/0.005076, allocations: 63.83 kB / 0.8824 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.005306, allocations: 155.3 kB / 0.8825 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.005309, allocations: 0.6562 kB / 0.8825 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.032e-06/0.00531, allocations: 0 / 0.8825 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.005317, allocations: 0.75 kB / 0.8825 GB, free: 2.785 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0005504/0.005867, allocations: 0.5268 MB / 0.883 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.005911, allocations: 11.97 kB / 0.8831 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.006073, allocations: 48.78 kB / 0.8831 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.006295, allocations: 188.2 kB / 0.8833 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.523e-05/0.00633, allocations: 16.88 kB / 0.8833 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.00635, allocations: 16.38 kB / 0.8833 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/0.006579, allocations: 153.3 kB / 0.8835 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.006591, allocations: 8.188 kB / 0.8835 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.006608, allocations: 8.375 kB / 0.8835 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.006616, allocations: 4.375 kB / 0.8835 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.912e-05/0.006705, allocations: 63.33 kB / 0.8835 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005761/0.007281, allocations: 499.3 kB / 0.884 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.007463, allocations: 107 kB / 0.8841 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.869e-05/0.007502, allocations: 31.67 kB / 0.8842 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.007523, allocations: 7.984 kB / 0.8842 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.007552, allocations: 45.31 kB / 0.8842 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 1.633e-06/0.007554, allocations: 0 / 0.8842 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.0002306/0.007784, allocations: 127.8 kB / 0.8843 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.00782, allocations: 51.41 kB / 0.8844 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.007962, allocations: 247.2 kB / 0.8846 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.007978, allocations: 25.7 kB / 0.8846 GB, free: 480 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.775e-05/0.008065, allocations: 187.2 kB / 0.8848 GB, free: 288 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.008102, allocations: 47.64 kB / 0.8849 GB, free: 240 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.426e-05/0.008166, allocations: 63.3 kB / 0.8849 GB, free: 168 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.008339, allocations: 0.5 MB / 0.8854 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.862e-05/0.008377, allocations: 19.98 kB / 0.8854 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.982e-05/0.008447, allocations: 83.14 kB / 0.8855 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.008555, allocations: 106.1 kB / 0.8856 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.008558, allocations: 4 kB / 0.8856 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001657/0.008724, allocations: 139.4 kB / 0.8857 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.008744, allocations: 8 kB / 0.8857 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.008751, allocations: 0 / 0.8857 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.008763, allocations: 4 kB / 0.8858 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.008873, allocations: 35.8 kB / 0.8858 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.008877, allocations: 0 / 0.8858 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.013e-05/0.008927, allocations: 23.88 kB / 0.8858 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.008937, allocations: 4 kB / 0.8858 GB, free: 15.18 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 0.0001166/0.009053, allocations: 181.5 kB / 0.886 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.009087, allocations: 19.91 kB / 0.886 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.689e-05/0.009124, allocations: 21.8 kB / 0.886 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.009129, allocations: 4 kB / 0.886 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.009134, allocations: 3.938 kB / 0.886 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.009139, allocations: 0 / 0.886 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.009313, allocations: 153.1 kB / 0.8862 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.009315, allocations: 0 / 0.8862 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.077e-05/0.009376, allocations: 23.92 kB / 0.8862 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.00938, allocations: 7.984 kB / 0.8862 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.00939, allocations: 8 kB / 0.8862 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.009391, allocations: 0 / 0.8862 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.009392, allocations: 0 / 0.8862 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002129/0.009605, allocations: 259.7 kB / 0.8865 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.841e-05/0.009623, allocations: 19.83 kB / 0.8865 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.009638, allocations: 4 kB / 0.8865 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.829e-05/0.009686, allocations: 8 kB / 0.8865 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/0.009743, allocations: 15.97 kB / 0.8865 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.00975, allocations: 4 kB / 0.8865 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.089e-05/0.009821, allocations: 167.1 kB / 0.8867 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.81e-07/0.009821, allocations: 0 / 0.8867 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001858/0.01001, allocations: 39.89 kB / 0.8867 GB, free: 14.2 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 0.0001336/0.01014, allocations: 107.8 kB / 0.8868 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000152/0.01029, allocations: 86.12 kB / 0.8869 GB, free: 14 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.0103, allocations: 0 / 0.8869 GB, free: 14 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.845e-05/0.01035, allocations: 59.91 kB / 0.887 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.01058, allocations: 25.8 kB / 0.887 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006191/0.0112, allocations: 336.4 kB / 0.8873 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.277e-05/0.01125, allocations: 75.98 kB / 0.8874 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.937e-05/0.01132, allocations: 25.47 kB / 0.8874 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.966e-05/0.01142, allocations: 98.19 kB / 0.8875 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of SimCode: time 6.61e-07/0.01142, allocations: 0 / 0.8875 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of Templates: time 0.004/0.01542, allocations: 1.656 MB / 0.8891 GB, free: 11.76 MB / 0.8542 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.85342375561595]