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.001556/0.001556, allocations: 112.6 kB / 16.37 MB, free: 6 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.001644/0.001644, allocations: 196 kB / 17.31 MB, free: 5.613 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.422/1.422, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.577/2.577, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.00125, allocations: 63.56 kB / 0.8774 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3311, allocations: 153 MB / 1.027 GB, free: 2.023 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002413/0.3336, allocations: 1.147 MB / 1.028 GB, free: 0.8828 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.3348, allocations: 1.022 MB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.731e-05/0.3349, allocations: 4 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.627e-05/0.3349, allocations: 19.73 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.3351, allocations: 31.66 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.3353, allocations: 87.86 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002304/0.3355, allocations: 228.2 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002417/0.3358, allocations: 124.1 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.336, allocations: 99.62 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.3361, allocations: 103.5 kB / 1.03 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.812e-05/0.3361, allocations: 28 kB / 1.03 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.763e-05/0.3361, allocations: 24 kB / 1.03 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.269e-05/0.3362, allocations: 51.83 kB / 1.03 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.835e-05/0.3363, allocations: 103.5 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002621/0.3365, allocations: 306.8 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3366, allocations: 0 / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.774e-06/0.3366, allocations: 0 / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.3366, allocations: 0 / 1.03 GB, free: 14.66 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.0006618/0.3372, allocations: 0.4952 MB / 1.031 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.3373, allocations: 12.03 kB / 1.031 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.824e-05/0.3373, allocations: 28.56 kB / 1.031 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004711/0.3378, allocations: 272.3 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.3379, allocations: 12.81 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.3379, allocations: 20.38 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003762/0.3383, allocations: 195.8 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.3383, allocations: 8.125 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/0.3383, allocations: 15.94 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.3383, allocations: 4 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003699/0.3387, allocations: 157.6 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007582/0.3395, allocations: 0.58 MB / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003384/0.3398, allocations: 170.5 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/0.34, allocations: 76.8 kB / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.34, allocations: 4 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.3401, allocations: 30.56 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=17): time 1.263e-06/0.3401, allocations: 4 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of matching and sorting (n=17): time 0.0005697/0.3406, allocations: 213.2 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.3407, allocations: 55.41 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.3408, allocations: 191.1 kB / 1.033 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.3409, allocations: 25.7 kB / 1.033 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.921e-05/0.341, allocations: 140.2 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.633e-05/0.341, allocations: 47.36 kB / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.284e-05/0.3411, allocations: 53.69 kB / 1.033 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.3412, allocations: 330.8 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.3413, allocations: 55.95 kB / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.3415, allocations: 97.11 kB / 1.033 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/0.3418, allocations: 151 kB / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3418, allocations: 0 / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003875/0.3422, allocations: 189.2 kB / 1.034 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.3423, allocations: 4 kB / 1.034 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.3423, allocations: 3.984 kB / 1.034 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.3423, allocations: 8.156 kB / 1.034 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.3425, allocations: 31.92 kB / 1.034 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.3425, allocations: 0 / 1.034 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.3426, allocations: 27.83 kB / 1.034 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.3426, allocations: 4 kB / 1.034 GB, free: 10.73 MB / 0.8106 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.0001444/0.3428, allocations: 145.7 kB / 1.034 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.866e-05/0.3428, allocations: 19.75 kB / 1.034 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.956e-05/0.3429, allocations: 25.88 kB / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3429, allocations: 0 / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3429, allocations: 0 / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3429, allocations: 0 / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.3432, allocations: 273.4 kB / 1.034 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3432, allocations: 4 kB / 1.034 GB, free: 10.22 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.3433, allocations: 35.91 kB / 1.034 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3433, allocations: 0 / 1.034 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.3434, allocations: 0 / 1.034 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3434, allocations: 0 / 1.034 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3434, allocations: 4 kB / 1.034 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00038/0.3438, allocations: 261.7 kB / 1.034 GB, free: 9.914 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.673e-05/0.3438, allocations: 92.86 kB / 1.034 GB, free: 9.805 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.3438, allocations: 8 kB / 1.034 GB, free: 9.797 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.344, allocations: 7.984 kB / 1.034 GB, free: 9.789 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.536e-05/0.3441, allocations: 31.91 kB / 1.034 GB, free: 9.758 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.3441, allocations: 4 kB / 1.035 GB, free: 9.754 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.567e-05/0.3441, allocations: 119.2 kB / 1.035 GB, free: 9.637 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3442, allocations: 0 / 1.035 GB, free: 9.637 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002683/0.3444, allocations: 35.84 kB / 1.035 GB, free: 9.602 MB / 0.8106 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.0001256/0.3446, allocations: 113.7 kB / 1.035 GB, free: 9.484 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003934/0.345, allocations: 159.7 kB / 1.035 GB, free: 9.328 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.345, allocations: 0 / 1.035 GB, free: 9.328 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001691/0.3451, allocations: 75.89 kB / 1.035 GB, free: 9.254 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.3454, allocations: 21.97 kB / 1.035 GB, free: 9.234 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006113/0.3461, allocations: 353.3 kB / 1.035 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.3463, allocations: 0.728 MB / 1.036 GB, free: 8.105 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 9.184e-05/0.3464, allocations: 25.53 kB / 1.036 GB, free: 8.082 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.284e-05/0.3465, allocations: 23.44 kB / 1.036 GB, free: 8.062 MB / 0.8106 GB Notification: Performance of SimCode: time 3.6e-07/0.3465, allocations: 0 / 1.036 GB, free: 8.062 MB / 0.8106 GB Notification: Performance of Templates: time 0.00422/0.3507, allocations: 1.471 MB / 1.038 GB, free: 6.645 MB / 0.8106 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 -s gbode -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