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.00117/0.00117, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.001498/0.001498, allocations: 177.9 kB / 23.21 MB, free: 1.355 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.9044/0.9044, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.647/1.647, allocations: 359 MB / 0.6044 GB, free: 11.09 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.507e-06/3.507e-06, allocations: 0 / 0.9518 GB, free: 2.945 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.476e-05/3.826e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.941 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.001953/0.001991, allocations: 1.093 MB / 0.9528 GB, free: 1.848 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.003177, allocations: 1.042 MB / 0.9538 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.003279, allocations: 0 / 0.9538 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 5.79e-05/0.003337, allocations: 23.67 kB / 0.9539 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001205/0.003457, allocations: 35.69 kB / 0.9539 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003078/0.003765, allocations: 95.77 kB / 0.954 GB, free: 0.6406 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.00396, allocations: 228.2 kB / 0.9542 GB, free: 424 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001941/0.004154, allocations: 88.66 kB / 0.9543 GB, free: 336 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002642/0.004418, allocations: 147.6 kB / 0.9544 GB, free: 188 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 9.876e-05/0.004517, allocations: 71.72 kB / 0.9545 GB, free: 116 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 3.318e-05/0.00455, allocations: 24 kB / 0.9545 GB, free: 92 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.971e-05/0.00462, allocations: 35.98 kB / 0.9546 GB, free: 56 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.085e-05/0.004651, allocations: 51.83 kB / 0.9546 GB, free: 4 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 7e-05/0.004721, allocations: 59.95 kB / 0.9547 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003115/0.005032, allocations: 326.9 kB / 0.955 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.005037, allocations: 0 / 0.955 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.573e-06/0.005038, allocations: 0 / 0.955 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.005043, allocations: 0 / 0.955 GB, free: 15.62 MB / 0.9167 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.0006003/0.005644, allocations: 437.7 kB / 0.9554 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.005692, allocations: 12.03 kB / 0.9554 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/0.00584, allocations: 28.8 kB / 0.9554 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003465/0.006187, allocations: 220.4 kB / 0.9556 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.006209, allocations: 20.88 kB / 0.9557 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.006232, allocations: 16.38 kB / 0.9557 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00029/0.006522, allocations: 200.6 kB / 0.9559 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.006534, allocations: 4.125 kB / 0.9559 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.006552, allocations: 4.375 kB / 0.9559 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.006561, allocations: 8.375 kB / 0.9559 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002465/0.006808, allocations: 165.8 kB / 0.956 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000628/0.007436, allocations: 487.5 kB / 0.9565 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/0.007699, allocations: 154.5 kB / 0.9567 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.466e-05/0.007793, allocations: 56.83 kB / 0.9567 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.007818, allocations: 4 kB / 0.9567 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.00784, allocations: 30.56 kB / 0.9567 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=17): time 1.934e-06/0.007842, allocations: 4 kB / 0.9568 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=17): time 0.0003955/0.008238, allocations: 219.5 kB / 0.957 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.008275, allocations: 51.41 kB / 0.957 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.008401, allocations: 187.4 kB / 0.9572 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.008418, allocations: 25.7 kB / 0.9572 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 7.883e-05/0.008497, allocations: 148.4 kB / 0.9574 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.008527, allocations: 43.72 kB / 0.9574 GB, free: 13 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.967e-05/0.008586, allocations: 61.64 kB / 0.9575 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.423e-05/0.008671, allocations: 326.8 kB / 0.9578 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.753e-05/0.008768, allocations: 59.95 kB / 0.9578 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/0.008959, allocations: 94.98 kB / 0.9579 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.009145, allocations: 149 kB / 0.9581 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.009148, allocations: 0 / 0.9581 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002446/0.009392, allocations: 195.6 kB / 0.9582 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.009408, allocations: 4 kB / 0.9582 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.009415, allocations: 8.156 kB / 0.9583 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.009436, allocations: 3.938 kB / 0.9583 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.00955, allocations: 35.91 kB / 0.9583 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.009557, allocations: 4 kB / 0.9583 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.037e-05/0.009618, allocations: 23.88 kB / 0.9583 GB, free: 12 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.009626, allocations: 4 kB / 0.9583 GB, free: 12 MB / 0.9167 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.0001673/0.009794, allocations: 133.8 kB / 0.9585 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.458e-05/0.009818, allocations: 15.91 kB / 0.9585 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.425e-05/0.009853, allocations: 25.81 kB / 0.9585 GB, free: 11.81 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.009858, allocations: 11.86 kB / 0.9585 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.009863, allocations: 4 kB / 0.9585 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.009867, allocations: 3.938 kB / 0.9585 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.01004, allocations: 185.2 kB / 0.9587 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01004, allocations: 0 / 0.9587 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.802e-05/0.01011, allocations: 19.98 kB / 0.9587 GB, free: 11.56 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.01011, allocations: 7.938 kB / 0.9587 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.01012, allocations: 7.984 kB / 0.9587 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.01013, allocations: 0 / 0.9587 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.01013, allocations: 7.938 kB / 0.9587 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.01038, allocations: 261.9 kB / 0.959 GB, free: 11.27 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.604e-05/0.0104, allocations: 15.91 kB / 0.959 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.01042, allocations: 4 kB / 0.959 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.649e-05/0.01047, allocations: 11.97 kB / 0.959 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.877e-05/0.01054, allocations: 31.89 kB / 0.959 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.01055, allocations: 4 kB / 0.959 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.185e-05/0.01061, allocations: 128.2 kB / 0.9592 GB, free: 11.08 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01061, allocations: 0 / 0.9592 GB, free: 11.08 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001841/0.01079, allocations: 39.84 kB / 0.9592 GB, free: 11.04 MB / 0.9167 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.0001183/0.01091, allocations: 111.2 kB / 0.9593 GB, free: 10.92 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002585/0.01117, allocations: 140.1 kB / 0.9594 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.01117, allocations: 4 kB / 0.9594 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.376e-05/0.01127, allocations: 75.89 kB / 0.9595 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.0115, allocations: 16 kB / 0.9595 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005326/0.01203, allocations: 371.9 kB / 0.9599 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.443e-05/0.01212, allocations: 125.2 kB / 0.96 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.21e-05/0.01217, allocations: 20.5 kB / 0.96 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of SimCode: time 6.11e-07/0.01217, allocations: 0 / 0.96 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of Templates: time 0.00307/0.01524, allocations: 2.235 MB / 0.9622 GB, free: 7.898 MB / 0.9167 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] 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: 6.4613747438415885]