Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001903/0.001903, allocations: 117.7 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002313/0.002313, allocations: 194.1 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.647/2.647, allocations: 443.5 MB / 0.7293 GB, free: 14.45 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 63.91 kB / 1.057 GB, free: 1.898 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3212, allocations: 160.7 MB / 1.214 GB, free: 0.8672 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002608/0.3239, allocations: 1.125 MB / 1.215 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.3253, allocations: 1.018 MB / 1.216 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.3254, allocations: 4 kB / 1.216 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 7.498e-05/0.3255, allocations: 27.67 kB / 1.216 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.3256, allocations: 31.72 kB / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.3259, allocations: 79.86 kB / 1.216 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000264/0.3261, allocations: 224.1 kB / 1.217 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002421/0.3264, allocations: 92.22 kB / 1.217 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.3266, allocations: 91.62 kB / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.3267, allocations: 95.55 kB / 1.217 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.248e-05/0.3268, allocations: 20 kB / 1.217 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.806e-05/0.3268, allocations: 24 kB / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.714e-05/0.3269, allocations: 55.83 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.853e-05/0.327, allocations: 95.47 kB / 1.217 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003461/0.3273, allocations: 294.7 kB / 1.217 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3273, allocations: 0 / 1.217 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.744e-06/0.3273, allocations: 0 / 1.217 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.288e-06/0.3273, allocations: 0 / 1.217 GB, free: 13.58 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0008322/0.3281, allocations: 0.4892 MB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.3282, allocations: 8.031 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.344e-05/0.3282, allocations: 32.8 kB / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004941/0.3287, allocations: 272.4 kB / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.3288, allocations: 16.81 kB / 1.218 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.209e-05/0.3288, allocations: 16.38 kB / 1.218 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004302/0.3292, allocations: 183.8 kB / 1.218 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.3292, allocations: 3.938 kB / 1.218 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.3293, allocations: 12 kB / 1.218 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.3293, allocations: 8 kB / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004166/0.3297, allocations: 149.6 kB / 1.218 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008564/0.3305, allocations: 0.5649 MB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003364/0.3309, allocations: 122.7 kB / 1.219 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.3311, allocations: 56.81 kB / 1.219 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.3311, allocations: 0 / 1.219 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.3311, allocations: 38.56 kB / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=15): time 1.102e-06/0.3311, allocations: 0 / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15): time 0.0006364/0.3318, allocations: 205.4 kB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.3318, allocations: 55.34 kB / 1.219 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.332, allocations: 183.8 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.332, allocations: 29.7 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.957e-05/0.3321, allocations: 140.3 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.3321, allocations: 39.72 kB / 1.22 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.891e-05/0.3322, allocations: 57.64 kB / 1.22 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3324, allocations: 326.8 kB / 1.22 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.3326, allocations: 51.95 kB / 1.22 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.3328, allocations: 93.05 kB / 1.22 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003313/0.3331, allocations: 139.8 kB / 1.22 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3331, allocations: 4 kB / 1.22 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004438/0.3335, allocations: 189.3 kB / 1.221 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.3336, allocations: 4 kB / 1.221 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3336, allocations: 0 / 1.221 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.3336, allocations: 4 kB / 1.221 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.3338, allocations: 44 kB / 1.221 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.3338, allocations: 7.984 kB / 1.221 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.3339, allocations: 23.88 kB / 1.221 GB, free: 9.801 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.3339, allocations: 8 kB / 1.221 GB, free: 9.793 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 13 (reaToInt2.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 (20): * Single equations (assignments): 20 * 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.0001295/0.334, allocations: 129.8 kB / 1.221 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/0.3341, allocations: 11.91 kB / 1.221 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.705e-05/0.3341, allocations: 25.52 kB / 1.221 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.3341, allocations: 11.88 kB / 1.221 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3341, allocations: 4 kB / 1.221 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3341, allocations: 0 / 1.221 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003052/0.3345, allocations: 261.5 kB / 1.221 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3345, allocations: 0 / 1.221 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.3346, allocations: 19.98 kB / 1.221 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3346, allocations: 0 / 1.221 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.3346, allocations: 4 kB / 1.221 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.3346, allocations: 7.875 kB / 1.221 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3346, allocations: 0 / 1.221 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004658/0.3351, allocations: 259.2 kB / 1.221 GB, free: 9 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.248e-05/0.3351, allocations: 92.95 kB / 1.222 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.3352, allocations: 4 kB / 1.222 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.3353, allocations: 15.92 kB / 1.222 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.718e-05/0.3354, allocations: 19.97 kB / 1.222 GB, free: 8.852 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.3354, allocations: 7.984 kB / 1.222 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.311e-05/0.3355, allocations: 123.2 kB / 1.222 GB, free: 8.723 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3355, allocations: 0 / 1.222 GB, free: 8.723 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002723/0.3357, allocations: 39.84 kB / 1.222 GB, free: 8.684 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0001506/0.3359, allocations: 109.3 kB / 1.222 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004366/0.3363, allocations: 138.5 kB / 1.222 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3363, allocations: 0 / 1.222 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001819/0.3365, allocations: 63.89 kB / 1.222 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.3368, allocations: 23.92 kB / 1.222 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007191/0.3376, allocations: 358.3 kB / 1.222 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.3379, allocations: 0.7358 MB / 1.223 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.161e-05/0.338, allocations: 15.44 kB / 1.223 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of SimCode: time 3.2e-07/0.338, allocations: 4 kB / 1.223 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of Templates: time 0.00438/0.3424, allocations: 2.087 MB / 1.225 GB, free: 5.105 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.376062596216798]