Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001325/0.001325, allocations: 111.7 kB / 17.13 MB, free: 5.926 MB / 14.72 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.001414/0.001414, allocations: 204 kB / 20.09 MB, free: 2.977 MB / 14.72 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.505/1.505, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.964/2.964, allocations: 0.49 GB / 0.7923 GB, free: 1.324 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002208/0.002208, allocations: 63.91 kB / 1.15 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9665/0.9687, allocations: 176.1 MB / 1.322 GB, free: 25.22 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002299/0.971, allocations: 1.132 MB / 1.323 GB, free: 24.47 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.9721, allocations: 1.071 MB / 1.324 GB, free: 23.66 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.967e-05/0.9722, allocations: 2.844 kB / 1.324 GB, free: 23.66 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.206e-05/0.9723, allocations: 26.39 kB / 1.324 GB, free: 23.64 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.9724, allocations: 25.66 kB / 1.324 GB, free: 23.62 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.9726, allocations: 88.45 kB / 1.324 GB, free: 23.56 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002/0.9728, allocations: 227.9 kB / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002051/0.9731, allocations: 97.56 kB / 1.325 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001937/0.9732, allocations: 101.1 kB / 1.325 GB, free: 23.33 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.9733, allocations: 112.4 kB / 1.325 GB, free: 23.27 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.236e-05/0.9734, allocations: 24.91 kB / 1.325 GB, free: 23.27 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.939e-05/0.9735, allocations: 25.84 kB / 1.325 GB, free: 23.27 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.267e-05/0.9735, allocations: 48.61 kB / 1.325 GB, free: 23.23 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.451e-05/0.9735, allocations: 101.7 kB / 1.325 GB, free: 23.16 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002765/0.9738, allocations: 314.1 kB / 1.325 GB, free: 23.04 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.9738, allocations: 0 / 1.325 GB, free: 23.04 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.332e-06/0.9738, allocations: 0 / 1.325 GB, free: 23.04 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.533e-06/0.9738, allocations: 0 / 1.325 GB, free: 23.04 MB / 1.061 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.0007518/0.9746, allocations: 0.5063 MB / 1.326 GB, free: 22.58 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.9746, allocations: 11.89 kB / 1.326 GB, free: 22.57 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001778/0.9748, allocations: 32.66 kB / 1.326 GB, free: 22.56 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004029/0.9752, allocations: 281.2 kB / 1.326 GB, free: 22.32 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.9752, allocations: 17.5 kB / 1.326 GB, free: 22.31 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.9753, allocations: 23.12 kB / 1.326 GB, free: 22.3 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003833/0.9756, allocations: 199.9 kB / 1.326 GB, free: 22.21 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.9757, allocations: 192 / 1.326 GB, free: 22.21 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.062e-05/0.9757, allocations: 14.78 kB / 1.326 GB, free: 22.2 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.9757, allocations: 6.797 kB / 1.326 GB, free: 22.2 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005516/0.9762, allocations: 157.8 kB / 1.326 GB, free: 22.15 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009814/0.9772, allocations: 0.5868 MB / 1.327 GB, free: 21.73 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000522/0.9778, allocations: 156.7 kB / 1.327 GB, free: 21.65 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002381/0.978, allocations: 60.33 kB / 1.327 GB, free: 21.63 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.978, allocations: 2.266 kB / 1.327 GB, free: 21.63 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.978, allocations: 39.78 kB / 1.327 GB, free: 21.58 MB / 1.061 GB Notification: Performance of pre-optimization done (n=17): time 1.854e-06/0.978, allocations: 0 / 1.327 GB, free: 21.58 MB / 1.061 GB Notification: Performance of matching and sorting (n=17): time 0.0009023/0.9789, allocations: 220.4 kB / 1.328 GB, free: 21.49 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.979, allocations: 52.91 kB / 1.328 GB, free: 21.43 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.9792, allocations: 184.9 kB / 1.328 GB, free: 21.29 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.9792, allocations: 30.89 kB / 1.328 GB, free: 21.26 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.376e-05/0.9793, allocations: 141.5 kB / 1.328 GB, free: 21.13 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.765e-05/0.9793, allocations: 49.23 kB / 1.328 GB, free: 21.09 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.9794, allocations: 55.84 kB / 1.328 GB, free: 21.06 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.435e-05/0.9795, allocations: 321 kB / 1.328 GB, free: 20.75 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/0.9797, allocations: 56 kB / 1.328 GB, free: 20.73 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002682/0.98, allocations: 107.9 kB / 1.328 GB, free: 20.66 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004519/0.9804, allocations: 149.6 kB / 1.329 GB, free: 20.57 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.9804, allocations: 0.5 kB / 1.329 GB, free: 20.57 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006159/0.9811, allocations: 187.6 kB / 1.329 GB, free: 20.48 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.212e-05/0.9811, allocations: 13.69 kB / 1.329 GB, free: 20.48 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.9811, allocations: 1.188 kB / 1.329 GB, free: 20.48 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/0.9811, allocations: 2.375 kB / 1.329 GB, free: 20.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002715/0.9814, allocations: 34.81 kB / 1.329 GB, free: 20.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.9814, allocations: 5.688 kB / 1.329 GB, free: 20.47 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.9816, allocations: 20.27 kB / 1.329 GB, free: 20.46 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.256e-05/0.9816, allocations: 6.156 kB / 1.329 GB, free: 20.46 MB / 1.061 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.0002011/0.9818, allocations: 141.8 kB / 1.329 GB, free: 20.33 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.89e-05/0.9819, allocations: 18.72 kB / 1.329 GB, free: 20.32 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.961e-05/0.9819, allocations: 20.25 kB / 1.329 GB, free: 20.3 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.9819, allocations: 2.656 kB / 1.329 GB, free: 20.3 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.9819, allocations: 0 / 1.329 GB, free: 20.3 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.9819, allocations: 0.8125 kB / 1.329 GB, free: 20.3 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003658/0.9823, allocations: 281.9 kB / 1.329 GB, free: 20.05 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.9823, allocations: 0 / 1.329 GB, free: 20.05 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/0.9825, allocations: 26.27 kB / 1.329 GB, free: 20.05 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.9825, allocations: 8.609 kB / 1.329 GB, free: 20.04 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.9825, allocations: 5.031 kB / 1.329 GB, free: 20.04 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.9825, allocations: 1 kB / 1.329 GB, free: 20.04 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.9825, allocations: 0.8438 kB / 1.329 GB, free: 20.04 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005907/0.9831, allocations: 266.9 kB / 1.33 GB, free: 19.86 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.883e-05/0.9832, allocations: 94.17 kB / 1.33 GB, free: 19.75 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.9832, allocations: 6.438 kB / 1.33 GB, free: 19.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.9833, allocations: 11.61 kB / 1.33 GB, free: 19.75 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.9835, allocations: 19.75 kB / 1.33 GB, free: 19.74 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.9835, allocations: 4.516 kB / 1.33 GB, free: 19.74 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001176/0.9836, allocations: 122.2 kB / 1.33 GB, free: 19.65 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9836, allocations: 0.75 kB / 1.33 GB, free: 19.65 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004249/0.984, allocations: 41.64 kB / 1.33 GB, free: 19.64 MB / 1.061 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.0001586/0.9842, allocations: 109 kB / 1.33 GB, free: 19.54 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006149/0.9848, allocations: 147.6 kB / 1.33 GB, free: 19.5 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.9848, allocations: 3.938 kB / 1.33 GB, free: 19.5 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002612/0.9851, allocations: 71.91 kB / 1.33 GB, free: 19.48 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.9855, allocations: 30.83 kB / 1.33 GB, free: 19.46 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008477/0.9863, allocations: 378 kB / 1.331 GB, free: 19.19 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.9866, allocations: 0.7372 MB / 1.331 GB, free: 18.49 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.955e-05/0.9866, allocations: 20.91 kB / 1.331 GB, free: 18.48 MB / 1.061 GB Notification: Performance of SimCode: time 5.21e-07/0.9866, allocations: 0 / 1.331 GB, free: 18.48 MB / 1.061 GB Notification: Performance of Templates: time 0.006575/0.9932, allocations: 2.19 MB / 1.333 GB, free: 18.24 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.522910779007361]