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.002456/0.002456, allocations: 79.75 kB / 20.23 MB, free: 4.168 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.002926/0.002926, allocations: 157.4 kB / 23.55 MB, free: 0.8555 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.553/1.553, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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 2.992/2.992, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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.504e-06/2.504e-06, allocations: 0 / 0.7864 GB, free: 11.64 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.497e-05/3.747e-05, allocations: 4.984 kB / 0.7864 GB, free: 11.64 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002761/0.002798, allocations: 1.119 MB / 0.7875 GB, free: 10.54 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001606/0.004404, allocations: 1.047 MB / 0.7885 GB, free: 9.48 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.004514, allocations: 4 kB / 0.7885 GB, free: 9.477 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 6.54e-05/0.004579, allocations: 24.7 kB / 0.7886 GB, free: 9.453 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001517/0.004731, allocations: 32.48 kB / 0.7886 GB, free: 9.422 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.00503, allocations: 91.78 kB / 0.7887 GB, free: 9.332 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002787/0.005309, allocations: 233 kB / 0.7889 GB, free: 9.105 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002409/0.005549, allocations: 92.64 kB / 0.789 GB, free: 9.016 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003194/0.005869, allocations: 148.8 kB / 0.7891 GB, free: 8.871 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.005996, allocations: 71.78 kB / 0.7892 GB, free: 8.801 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.291e-05/0.006049, allocations: 24 kB / 0.7892 GB, free: 8.777 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.904e-05/0.006118, allocations: 29.75 kB / 0.7892 GB, free: 8.75 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.999e-05/0.006178, allocations: 51.83 kB / 0.7893 GB, free: 8.699 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.38e-05/0.006262, allocations: 63.77 kB / 0.7894 GB, free: 8.637 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004648/0.006726, allocations: 322.9 kB / 0.7897 GB, free: 8.32 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.006731, allocations: 3.938 kB / 0.7897 GB, free: 8.316 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.172e-06/0.006732, allocations: 4.781 kB / 0.7897 GB, free: 8.312 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.006738, allocations: 0 / 0.7897 GB, free: 8.312 MB / 0.698 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.001079/0.007817, allocations: 0.5278 MB / 0.7902 GB, free: 7.746 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.007854, allocations: 9.406 kB / 0.7902 GB, free: 7.738 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002008/0.008055, allocations: 48.78 kB / 0.7902 GB, free: 7.691 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004741/0.008529, allocations: 220.2 kB / 0.7905 GB, free: 7.453 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.008556, allocations: 12.88 kB / 0.7905 GB, free: 7.441 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.944e-05/0.008595, allocations: 24.38 kB / 0.7905 GB, free: 7.418 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004015/0.008997, allocations: 189.7 kB / 0.7907 GB, free: 7.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.009008, allocations: 192 / 0.7907 GB, free: 7.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.00903, allocations: 8.312 kB / 0.7907 GB, free: 7.223 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.00904, allocations: 9.75 kB / 0.7907 GB, free: 7.215 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003826/0.009423, allocations: 145.8 kB / 0.7908 GB, free: 7.07 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.01045, allocations: 0.5944 MB / 0.7914 GB, free: 6.441 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003732/0.01082, allocations: 156.8 kB / 0.7916 GB, free: 6.277 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.01097, allocations: 63.56 kB / 0.7916 GB, free: 6.211 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.011, allocations: 4 kB / 0.7916 GB, free: 6.207 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.478e-05/0.01105, allocations: 33.39 kB / 0.7917 GB, free: 6.164 MB / 0.698 GB Notification: Performance of pre-optimization done (n=17): time 3.476e-06/0.01105, allocations: 9.047 kB / 0.7917 GB, free: 6.156 MB / 0.698 GB Notification: Performance of matching and sorting (n=17): time 0.0005859/0.01164, allocations: 197 kB / 0.7919 GB, free: 5.961 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.01169, allocations: 55.31 kB / 0.7919 GB, free: 5.895 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002867/0.01198, allocations: 274.3 kB / 0.7922 GB, free: 5.609 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.01202, allocations: 29.7 kB / 0.7922 GB, free: 5.574 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.01217, allocations: 192.8 kB / 0.7924 GB, free: 5.383 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.221e-05/0.01225, allocations: 59.64 kB / 0.7924 GB, free: 5.324 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.01237, allocations: 83.23 kB / 0.7925 GB, free: 5.234 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002981/0.01266, allocations: 0.5079 MB / 0.793 GB, free: 4.715 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.01281, allocations: 50.62 kB / 0.7931 GB, free: 4.668 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/0.01301, allocations: 111.8 kB / 0.7932 GB, free: 4.535 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003201/0.01333, allocations: 148.9 kB / 0.7933 GB, free: 4.367 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01333, allocations: 0.7188 kB / 0.7933 GB, free: 4.367 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004289/0.01376, allocations: 191.3 kB / 0.7935 GB, free: 4.176 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.01378, allocations: 4 kB / 0.7935 GB, free: 4.172 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.01379, allocations: 8.531 kB / 0.7935 GB, free: 4.164 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.01381, allocations: 3.938 kB / 0.7935 GB, free: 4.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/0.01399, allocations: 37.28 kB / 0.7935 GB, free: 4.125 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.014, allocations: 0 / 0.7935 GB, free: 4.125 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.724e-05/0.0141, allocations: 19.89 kB / 0.7936 GB, free: 4.105 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.01411, allocations: 5.156 kB / 0.7936 GB, free: 4.102 MB / 0.698 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.0002144/0.01433, allocations: 193.9 kB / 0.7938 GB, free: 3.902 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/0.01437, allocations: 15.91 kB / 0.7938 GB, free: 3.887 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.531e-05/0.01443, allocations: 21.81 kB / 0.7938 GB, free: 3.867 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.01444, allocations: 5.688 kB / 0.7938 GB, free: 3.863 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.01445, allocations: 4 kB / 0.7938 GB, free: 3.859 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01445, allocations: 0 / 0.7938 GB, free: 3.859 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003254/0.01478, allocations: 224.5 kB / 0.794 GB, free: 3.605 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01478, allocations: 4 kB / 0.794 GB, free: 3.602 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.0149, allocations: 24.5 kB / 0.794 GB, free: 3.578 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.0149, allocations: 1.844 kB / 0.794 GB, free: 3.578 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.01492, allocations: 8 kB / 0.794 GB, free: 3.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.01492, allocations: 0 / 0.794 GB, free: 3.57 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.01492, allocations: 3.938 kB / 0.794 GB, free: 3.566 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004736/0.0154, allocations: 310.6 kB / 0.7943 GB, free: 3.246 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.553e-05/0.01542, allocations: 11.91 kB / 0.7944 GB, free: 3.234 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.01544, allocations: 0 / 0.7944 GB, free: 3.234 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.611e-05/0.01554, allocations: 11.47 kB / 0.7944 GB, free: 3.227 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.752e-05/0.01563, allocations: 27.89 kB / 0.7944 GB, free: 3.199 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.01564, allocations: 8 kB / 0.7944 GB, free: 3.191 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001441/0.01579, allocations: 173.3 kB / 0.7946 GB, free: 3.023 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.01579, allocations: 0 / 0.7946 GB, free: 3.023 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002862/0.01607, allocations: 47.83 kB / 0.7946 GB, free: 2.977 MB / 0.698 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.000152/0.01622, allocations: 99.88 kB / 0.7947 GB, free: 2.871 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003946/0.01662, allocations: 149.4 kB / 0.7949 GB, free: 2.723 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01662, allocations: 0 / 0.7949 GB, free: 2.723 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001777/0.0168, allocations: 82.22 kB / 0.7949 GB, free: 2.641 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.01711, allocations: 23.92 kB / 0.795 GB, free: 2.617 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007623/0.01788, allocations: 366.5 kB / 0.7953 GB, free: 2.223 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.01805, allocations: 124.8 kB / 0.7954 GB, free: 2.086 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001081/0.01815, allocations: 31.45 kB / 0.7955 GB, free: 2.059 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.949e-05/0.01822, allocations: 20.5 kB / 0.7955 GB, free: 2.035 MB / 0.698 GB Notification: Performance of SimCode: time 4.41e-07/0.01822, allocations: 0 / 0.7955 GB, free: 2.035 MB / 0.698 GB Notification: Performance of Templates: time 0.005754/0.02398, allocations: 1.474 MB / 0.7969 GB, free: 0.6484 MB / 0.698 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.020479918923229]