Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0008472/0.0008471, allocations: 99.58 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 181.5 kB / 16.92 MB, free: 6.918 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.431/1.431, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.858/2.858, allocations: 462.6 MB / 0.737 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003574, allocations: 11.02 kB / 0.9035 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3162, allocations: 159.6 MB / 1.059 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.001585/0.3178, allocations: 0.8255 MB / 1.06 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001451/0.3193, allocations: 1.01 MB / 1.061 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.3195, allocations: 4 kB / 1.061 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.727e-05/0.3195, allocations: 15.8 kB / 1.061 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001645/0.3197, allocations: 11.88 kB / 1.061 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.32, allocations: 71.92 kB / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002577/0.3202, allocations: 212.2 kB / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002615/0.3205, allocations: 120.1 kB / 1.062 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002082/0.3207, allocations: 67.59 kB / 1.062 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.3209, allocations: 67.56 kB / 1.062 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.368e-05/0.3209, allocations: 7.984 kB / 1.062 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.271e-05/0.321, allocations: 8 kB / 1.062 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.705e-05/0.321, allocations: 27.86 kB / 1.062 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.895e-05/0.3211, allocations: 109 kB / 1.062 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.3213, allocations: 235.6 kB / 1.062 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3214, allocations: 0 / 1.062 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3214, allocations: 0 / 1.062 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.426e-05/0.3214, allocations: 0 / 1.062 GB, free: 2.156 MB / 0.8106 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.0007407/0.3221, allocations: 471.2 kB / 1.063 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.3222, allocations: 15.97 kB / 1.063 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.321e-05/0.3223, allocations: 28.59 kB / 1.063 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005138/0.3228, allocations: 280.2 kB / 1.063 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.3228, allocations: 16.81 kB / 1.063 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.589e-05/0.3229, allocations: 24.38 kB / 1.063 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004714/0.3234, allocations: 199.8 kB / 1.063 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.3234, allocations: 8.125 kB / 1.063 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/0.3234, allocations: 11.94 kB / 1.063 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.3234, allocations: 4 kB / 1.063 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004308/0.3239, allocations: 169.7 kB / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008989/0.3248, allocations: 0.5995 MB / 1.064 GB, free: 216 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003623/0.3251, allocations: 166.6 kB / 1.064 GB, free: 40 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002069/0.3254, allocations: 72.81 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.3254, allocations: 4 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.3254, allocations: 30.56 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=17): time 1.403e-06/0.3254, allocations: 4 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17): time 0.000649/0.3261, allocations: 235.3 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.3261, allocations: 51.41 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.3263, allocations: 191.6 kB / 1.065 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.3264, allocations: 29.64 kB / 1.065 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.097e-05/0.3265, allocations: 132.2 kB / 1.065 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.381e-05/0.3265, allocations: 51.36 kB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.842e-05/0.3266, allocations: 37.7 kB / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.3267, allocations: 326.8 kB / 1.065 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.3269, allocations: 63.97 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.3271, allocations: 101.7 kB / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003655/0.3275, allocations: 163.1 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.3275, allocations: 0 / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004523/0.3279, allocations: 209.1 kB / 1.066 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.328, allocations: 8 kB / 1.066 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.328, allocations: 0 / 1.066 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.328, allocations: 4 kB / 1.066 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.3282, allocations: 43.84 kB / 1.066 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.3282, allocations: 4.156 kB / 1.066 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.3283, allocations: 27.83 kB / 1.066 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.3284, allocations: 8 kB / 1.066 GB, free: 14.17 MB / 0.8262 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.0001609/0.3285, allocations: 133.8 kB / 1.066 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.219e-05/0.3286, allocations: 19.75 kB / 1.066 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.286e-05/0.3286, allocations: 25.86 kB / 1.066 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.3287, allocations: 8 kB / 1.066 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3287, allocations: 3.938 kB / 1.066 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3287, allocations: 4 kB / 1.066 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002844/0.329, allocations: 269.5 kB / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.329, allocations: 3.938 kB / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.3291, allocations: 27.91 kB / 1.066 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.3291, allocations: 4 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.3291, allocations: 0 / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.3292, allocations: 0 / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3292, allocations: 4 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004371/0.3296, allocations: 269.1 kB / 1.066 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.432e-05/0.3297, allocations: 104.8 kB / 1.067 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.3297, allocations: 4 kB / 1.067 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.3298, allocations: 8 kB / 1.067 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.628e-05/0.3299, allocations: 23.97 kB / 1.067 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.3299, allocations: 7.984 kB / 1.067 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.472e-05/0.33, allocations: 124.2 kB / 1.067 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.51e-07/0.33, allocations: 0 / 1.067 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00028/0.3303, allocations: 39.84 kB / 1.067 GB, free: 13.02 MB / 0.8262 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.0001373/0.3304, allocations: 113.2 kB / 1.067 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004372/0.3309, allocations: 169.5 kB / 1.067 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3309, allocations: 0 / 1.067 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.3311, allocations: 75.91 kB / 1.067 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.3314, allocations: 29.33 kB / 1.067 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007365/0.3322, allocations: 458 kB / 1.068 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.3325, allocations: 0.7244 MB / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.692e-05/0.3326, allocations: 27.42 kB / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of SimCode: time 2.9e-07/0.3326, allocations: 0 / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of Templates: time 0.004449/0.337, allocations: 2.138 MB / 1.07 GB, free: 9.25 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches