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.Overrides.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.oveFloSet|ove.VActSet_flow|ove.VMin_flow|ove.VCooMax_flow|ove.VSet_flow|ove.oveCooDamPos|ove.uCooDam|ove.yCooDam|ove.oveHeaDamPos|ove.uHeaDam|ove.yHeaDam",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ove.oveFloSet|ove.VActSet_flow|ove.VMin_flow|ove.VCooMax_flow|ove.VSet_flow|ove.oveCooDamPos|ove.uCooDam|ove.yCooDam|ove.oveHeaDamPos|ove.uHeaDam|ove.yHeaDam",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 104.5 kB / 16.27 MB, free: 6.414 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.001476/0.001476, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.386/1.386, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.664/2.664, allocations: 482.4 MB / 0.7553 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 69.39 kB / 0.9245 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7471/0.7491, allocations: 162.2 MB / 1.083 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides): time 0.002826/0.7519, allocations: 1.761 MB / 1.085 GB, free: 432 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.7533, allocations: 1.156 MB / 1.086 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.7534, allocations: 6.188 kB / 1.086 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.7536, allocations: 55.48 kB / 1.086 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001768/0.7537, allocations: 51.61 kB / 1.086 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003766/0.7541, allocations: 189 kB / 1.086 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000502/0.7546, allocations: 0.4918 MB / 1.087 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004513/0.7551, allocations: 282.9 kB / 1.087 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000246/0.7553, allocations: 210.1 kB / 1.087 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002768/0.7556, allocations: 240.8 kB / 1.087 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.223e-05/0.7557, allocations: 57.94 kB / 1.087 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.733e-05/0.7558, allocations: 57.41 kB / 1.087 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.7559, allocations: 123.5 kB / 1.088 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002358/0.7562, allocations: 242.9 kB / 1.088 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007112/0.7569, allocations: 0.6553 MB / 1.088 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.7569, allocations: 5.406 kB / 1.088 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.015e-06/0.7569, allocations: 3.938 kB / 1.088 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.258e-06/0.7569, allocations: 3.938 kB / 1.088 GB, free: 14.17 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.00139/0.7583, allocations: 0.7591 MB / 1.089 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.7584, allocations: 9.344 kB / 1.089 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.7585, allocations: 62.8 kB / 1.089 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.7597, allocations: 492.1 kB / 1.09 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.495e-05/0.7597, allocations: 38.94 kB / 1.09 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.225e-05/0.7598, allocations: 41.56 kB / 1.09 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.7608, allocations: 0.5011 MB / 1.09 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.7609, allocations: 4.172 kB / 1.09 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.241e-05/0.7609, allocations: 20.94 kB / 1.09 GB, free: 13 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.7609, allocations: 10.59 kB / 1.09 GB, free: 13 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/0.7622, allocations: 433.5 kB / 1.091 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001796/0.764, allocations: 1.247 MB / 1.092 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000974/0.765, allocations: 409.8 kB / 1.092 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006164/0.7656, allocations: 217.1 kB / 1.093 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.387e-05/0.7657, allocations: 10.16 kB / 1.093 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.7657, allocations: 49.06 kB / 1.093 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=41): time 1.813e-06/0.7657, allocations: 0 / 1.093 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=41): time 0.001905/0.7676, allocations: 0.5656 MB / 1.093 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.321e-05/0.7677, allocations: 111.2 kB / 1.093 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002944/0.768, allocations: 293.2 kB / 1.093 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.126e-05/0.7681, allocations: 31.81 kB / 1.094 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.7682, allocations: 218.7 kB / 1.094 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.7684, allocations: 115 kB / 1.094 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.7685, allocations: 93.41 kB / 1.094 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.7687, allocations: 349.5 kB / 1.094 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005758/0.7693, allocations: 163.2 kB / 1.094 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006488/0.7699, allocations: 251.9 kB / 1.095 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.7711, allocations: 395.9 kB / 1.095 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.7711, allocations: 4.906 kB / 1.095 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001313/0.7724, allocations: 475.2 kB / 1.096 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.7724, allocations: 8.281 kB / 1.096 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.7724, allocations: 3.375 kB / 1.096 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.7725, allocations: 5.234 kB / 1.096 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004765/0.7729, allocations: 104.4 kB / 1.096 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.773, allocations: 5.391 kB / 1.096 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003158/0.7733, allocations: 61.41 kB / 1.096 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.082e-05/0.7733, allocations: 17.59 kB / 1.096 GB, free: 10 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 24 (reaToInt2.y,ove.or5.y,ove.or1.y,ove.forMinFlo1.y,ove.or3.y,ove.forMinFlo.y,ove.forCooMax.y,ove.forZerFlo.y,reaToInt1.y,ove.or2.y,ove.intEqu4.y,ove.intEqu3.y,reaToInt3.y,ove.or4.y,ove.intEqu2.y,ove.intEqu1.y,ove.conInt7.y,ove.conInt6.y,ove.conInt4.y,ove.conInt3.y,ove.conInt5.y,ove.conInt2.y,ove.conInt1.y,ove.conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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.0002039/0.7735, allocations: 168.2 kB / 1.096 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.7736, allocations: 31.98 kB / 1.096 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.026e-05/0.7737, allocations: 41.27 kB / 1.096 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.7737, allocations: 12.5 kB / 1.096 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.7738, allocations: 1.062 kB / 1.096 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.7738, allocations: 3.328 kB / 1.096 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006836/0.7745, allocations: 464.1 kB / 1.096 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.7745, allocations: 5.062 kB / 1.096 GB, free: 9.473 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000412/0.7749, allocations: 87.48 kB / 1.096 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.7749, allocations: 2.406 kB / 1.096 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.624e-05/0.7749, allocations: 8.781 kB / 1.096 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.7749, allocations: 10.16 kB / 1.096 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.775, allocations: 1.531 kB / 1.096 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.7763, allocations: 0.6518 MB / 1.097 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.797e-05/0.7763, allocations: 111.5 kB / 1.097 GB, free: 8.945 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.347e-05/0.7764, allocations: 7.828 kB / 1.097 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003589/0.7768, allocations: 48.16 kB / 1.097 GB, free: 8.926 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001609/0.7769, allocations: 63.62 kB / 1.097 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-05/0.777, allocations: 14.09 kB / 1.097 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001759/0.7771, allocations: 173.8 kB / 1.098 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7771, allocations: 1.312 kB / 1.098 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004413/0.7776, allocations: 93.47 kB / 1.098 GB, free: 8.758 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 (ove.forZerFlo.y,ove.forCooMax.y,ove.forMinFlo.y,ove.or3.y,ove.forMinFlo1.y,ove.or1.y,ove.or5.y,reaToInt2.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y,ove.intEqu1.y,ove.intEqu2.y,ove.or4.y,reaToInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 41 * 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.0001659/0.7778, allocations: 130.7 kB / 1.098 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00126/0.779, allocations: 435.1 kB / 1.098 GB, free: 8.535 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.779, allocations: 1.094 kB / 1.098 GB, free: 8.535 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006261/0.7797, allocations: 226.5 kB / 1.098 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005604/0.7802, allocations: 56.81 kB / 1.098 GB, free: 8.445 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.7814, allocations: 0.7119 MB / 1.099 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004667/0.7819, allocations: 0.8225 MB / 1.1 GB, free: 7.277 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.7821, allocations: 44.89 kB / 1.1 GB, free: 7.27 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.7821, allocations: 1.25 kB / 1.1 GB, free: 7.27 MB / 0.8419 GB Notification: Performance of Templates: time 0.008123/0.7902, allocations: 4.848 MB / 1.105 GB, free: 6.773 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches