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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 112.1 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 183 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.539/2.539, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001575, allocations: 59.91 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8983/0.8999, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002877/0.9028, allocations: 1.122 MB / 1.168 GB, free: 2.746 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00164/0.9045, allocations: 1.014 MB / 1.169 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002101/0.9048, allocations: 4 kB / 1.169 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 9.287e-05/0.9049, allocations: 19.73 kB / 1.169 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002027/0.9051, allocations: 31.67 kB / 1.169 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.9054, allocations: 75.92 kB / 1.17 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002913/0.9057, allocations: 216.2 kB / 1.17 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003096/0.906, allocations: 124.2 kB / 1.17 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002336/0.9063, allocations: 95.56 kB / 1.17 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.9065, allocations: 103.4 kB / 1.17 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.104e-05/0.9065, allocations: 24 kB / 1.17 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.729e-05/0.9066, allocations: 20 kB / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.872e-05/0.9066, allocations: 47.84 kB / 1.17 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.9068, allocations: 99.45 kB / 1.17 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003635/0.9071, allocations: 282.8 kB / 1.171 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.9071, allocations: 4 kB / 1.171 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.475e-06/0.9071, allocations: 0 / 1.171 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.387e-05/0.9072, allocations: 0 / 1.171 GB, free: 0.5938 MB / 0.8887 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.0008701/0.908, allocations: 492.9 kB / 1.171 GB, free: 68 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.9081, allocations: 12.91 kB / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.019e-05/0.9082, allocations: 20.75 kB / 1.171 GB, free: 36 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005706/0.9088, allocations: 287.1 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/0.9088, allocations: 16.81 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.246e-05/0.9088, allocations: 16.38 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004298/0.9093, allocations: 187.8 kB / 1.172 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.9093, allocations: 3.938 kB / 1.172 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/0.9093, allocations: 12 kB / 1.172 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.9094, allocations: 4 kB / 1.172 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004214/0.9098, allocations: 153.6 kB / 1.172 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009079/0.9107, allocations: 0.5531 MB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003301/0.911, allocations: 127.8 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.9112, allocations: 64.81 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.9113, allocations: 12 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.9113, allocations: 34.56 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=15): time 1.713e-06/0.9113, allocations: 0 / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15): time 0.000621/0.9119, allocations: 200.6 kB / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.912, allocations: 59.28 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.9122, allocations: 186.1 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.9122, allocations: 33.64 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.9124, allocations: 128.3 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.9124, allocations: 43.39 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.042e-05/0.9125, allocations: 49.61 kB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.9126, allocations: 326.8 kB / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.9128, allocations: 55.95 kB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.913, allocations: 97.06 kB / 1.174 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003285/0.9134, allocations: 133 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.9134, allocations: 4 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004731/0.9139, allocations: 185.3 kB / 1.174 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.9139, allocations: 4 kB / 1.174 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.9139, allocations: 4 kB / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.9139, allocations: 0 / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.9141, allocations: 39.84 kB / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.9142, allocations: 7.938 kB / 1.174 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.9143, allocations: 23.83 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.9143, allocations: 8.156 kB / 1.174 GB, free: 12.82 MB / 0.9044 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.0001413/0.9145, allocations: 133.8 kB / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.782e-05/0.9145, allocations: 31.78 kB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.342e-05/0.9146, allocations: 13.53 kB / 1.174 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.9146, allocations: 7.938 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.9146, allocations: 0 / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.9146, allocations: 0 / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003147/0.9149, allocations: 265.5 kB / 1.174 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.9149, allocations: 4 kB / 1.174 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.9151, allocations: 23.92 kB / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.9151, allocations: 0 / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.9151, allocations: 4 kB / 1.174 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/0.9151, allocations: 11.91 kB / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.9151, allocations: 0 / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004341/0.9156, allocations: 253 kB / 1.175 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.65e-05/0.9156, allocations: 92.86 kB / 1.175 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.9157, allocations: 0 / 1.175 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.9158, allocations: 15.92 kB / 1.175 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.98e-05/0.9159, allocations: 19.97 kB / 1.175 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.9159, allocations: 4 kB / 1.175 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001072/0.916, allocations: 120.2 kB / 1.175 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.916, allocations: 0 / 1.175 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002814/0.9163, allocations: 39.84 kB / 1.175 GB, free: 11.7 MB / 0.9044 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.0001424/0.9164, allocations: 113.2 kB / 1.175 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004306/0.9169, allocations: 137.8 kB / 1.175 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.9169, allocations: 0 / 1.175 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.9171, allocations: 72.22 kB / 1.175 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.9174, allocations: 23.92 kB / 1.175 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007345/0.9182, allocations: 354.7 kB / 1.176 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.9185, allocations: 0.7319 MB / 1.176 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.028e-05/0.9186, allocations: 19.44 kB / 1.176 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of SimCode: time 4.11e-07/0.9186, allocations: 3.938 kB / 1.176 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of Templates: time 0.004458/0.9231, allocations: 2.088 MB / 1.178 GB, free: 8.113 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches