Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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 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.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 102.5 kB / 16.35 MB, free: 6.289 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.001147/0.001147, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.439/1.439, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.527/2.527, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.00134, allocations: 68.53 kB / 0.8774 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3602, allocations: 153 MB / 1.027 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides): time 0.003747/0.364, allocations: 1.771 MB / 1.028 GB, free: 272 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001922/0.366, allocations: 1.159 MB / 1.03 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002232/0.3662, allocations: 8 kB / 1.03 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001666/0.3664, allocations: 55.27 kB / 1.03 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002023/0.3667, allocations: 51.34 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004399/0.3671, allocations: 183.8 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000496/0.3676, allocations: 0.5009 MB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004839/0.3681, allocations: 284.7 kB / 1.031 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002288/0.3683, allocations: 207.2 kB / 1.031 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002486/0.3686, allocations: 238.9 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.356e-05/0.3687, allocations: 59.94 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.997e-05/0.3688, allocations: 60 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.3689, allocations: 119.7 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000205/0.3691, allocations: 246.6 kB / 1.032 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006758/0.3698, allocations: 0.6888 MB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3698, allocations: 0 / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3698, allocations: 0 / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.3698, allocations: 0 / 1.032 GB, free: 12.41 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001375/0.3712, allocations: 0.7602 MB / 1.033 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.3712, allocations: 8.031 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.3714, allocations: 56.28 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/0.3725, allocations: 491.9 kB / 1.034 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.667e-05/0.3726, allocations: 37.38 kB / 1.034 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.645e-05/0.3727, allocations: 44.38 kB / 1.034 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.3737, allocations: 0.5025 MB / 1.034 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.3738, allocations: 192 / 1.034 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.941e-05/0.3738, allocations: 23.94 kB / 1.034 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.3738, allocations: 12 kB / 1.034 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.375, allocations: 425.9 kB / 1.035 GB, free: 9.973 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001759/0.3768, allocations: 1.239 MB / 1.036 GB, free: 8.672 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009183/0.3778, allocations: 419 kB / 1.036 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005496/0.3783, allocations: 222.5 kB / 1.036 GB, free: 8.012 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.23e-05/0.3784, allocations: 8 kB / 1.036 GB, free: 8.004 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.3784, allocations: 38.56 kB / 1.036 GB, free: 7.957 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=41): time 1.723e-06/0.3784, allocations: 0 / 1.036 GB, free: 7.957 MB / 0.8106 GB Notification: Performance of matching and sorting (n=41): time 0.001732/0.3802, allocations: 0.5733 MB / 1.037 GB, free: 7.379 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.126e-05/0.3803, allocations: 114.7 kB / 1.037 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/0.3805, allocations: 282.7 kB / 1.037 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.3806, allocations: 29.7 kB / 1.037 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.3807, allocations: 228.1 kB / 1.038 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.3808, allocations: 114.4 kB / 1.038 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.381, allocations: 94.09 kB / 1.038 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3811, allocations: 342.8 kB / 1.038 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000494/0.3816, allocations: 168.7 kB / 1.038 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005467/0.3822, allocations: 249.7 kB / 1.038 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.3832, allocations: 399 kB / 1.039 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.3832, allocations: 0 / 1.039 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00118/0.3844, allocations: 467.8 kB / 1.039 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.3844, allocations: 11.97 kB / 1.039 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.3844, allocations: 4 kB / 1.039 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.3845, allocations: 7.938 kB / 1.039 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004853/0.385, allocations: 103.8 kB / 1.039 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.385, allocations: 4 kB / 1.039 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002995/0.3853, allocations: 71.53 kB / 1.04 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.917e-05/0.3853, allocations: 12 kB / 1.04 GB, free: 4.609 MB / 0.8106 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.0002802/0.3856, allocations: 185.6 kB / 1.04 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.476e-05/0.3857, allocations: 31.62 kB / 1.04 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.292e-05/0.3858, allocations: 42.2 kB / 1.04 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/0.3858, allocations: 15.94 kB / 1.04 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.3858, allocations: 0 / 1.04 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3859, allocations: 0 / 1.04 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006487/0.3865, allocations: 457.1 kB / 1.04 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3865, allocations: 4 kB / 1.04 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003963/0.3869, allocations: 83.86 kB / 1.04 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.3869, allocations: 0 / 1.04 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.804e-05/0.387, allocations: 8 kB / 1.04 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.387, allocations: 7.938 kB / 1.04 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.387, allocations: 4 kB / 1.04 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.3882, allocations: 0.6573 MB / 1.041 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.122e-05/0.3883, allocations: 112.6 kB / 1.041 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.152e-05/0.3883, allocations: 8 kB / 1.041 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003449/0.3887, allocations: 43.89 kB / 1.041 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/0.3888, allocations: 63.86 kB / 1.041 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.579e-05/0.3889, allocations: 16 kB / 1.041 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001903/0.3891, allocations: 174 kB / 1.041 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3891, allocations: 0 / 1.041 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004498/0.3895, allocations: 91.59 kB / 1.041 GB, free: 2.535 MB / 0.8106 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.0001831/0.3897, allocations: 124.7 kB / 1.042 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001173/0.3909, allocations: 424 kB / 1.042 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3909, allocations: 0 / 1.042 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006061/0.3915, allocations: 239.7 kB / 1.042 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005556/0.3921, allocations: 56.84 kB / 1.042 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.3934, allocations: 0.673 MB / 1.043 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004262/0.3939, allocations: 0.8154 MB / 1.044 GB, free: 140 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002295/0.3941, allocations: 59.27 kB / 1.044 GB, free: 84 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.3942, allocations: 43.44 kB / 1.044 GB, free: 40 kB / 0.8106 GB Notification: Performance of SimCode: time 8.72e-07/0.3943, allocations: 0 / 1.044 GB, free: 40 kB / 0.8106 GB Notification: Performance of Templates: time 0.008693/0.403, allocations: 3.923 MB / 1.048 GB, free: 12.19 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches