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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.008793/0.008792, allocations: 100.5 kB / 15.73 MB, free: 5.977 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.001343/0.001344, allocations: 197.2 kB / 16.67 MB, free: 5.914 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.555/1.555, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.913/2.913, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 59.91 kB / 1.054 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4639/0.4653, allocations: 157.4 MB / 1.208 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides): time 0.003432/0.4688, allocations: 1.752 MB / 1.209 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.4705, allocations: 1.166 MB / 1.211 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001682/0.4707, allocations: 4 kB / 1.211 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.4708, allocations: 55.27 kB / 1.211 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001847/0.471, allocations: 51.34 kB / 1.211 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004537/0.4715, allocations: 187.7 kB / 1.211 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005112/0.472, allocations: 0.501 MB / 1.211 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004739/0.4725, allocations: 284.7 kB / 1.212 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002342/0.4727, allocations: 199.2 kB / 1.212 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002748/0.473, allocations: 242.9 kB / 1.212 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.642e-05/0.4731, allocations: 64 kB / 1.212 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.318e-05/0.4732, allocations: 56 kB / 1.212 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.4733, allocations: 127.6 kB / 1.212 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000208/0.4735, allocations: 234.7 kB / 1.213 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007804/0.4743, allocations: 0.6927 MB / 1.213 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.4743, allocations: 0 / 1.213 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.535e-06/0.4743, allocations: 0 / 1.213 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.292e-05/0.4744, allocations: 0 / 1.213 GB, free: 3.996 MB / 0.9669 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.00145/0.4758, allocations: 0.764 MB / 1.214 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.4759, allocations: 8.625 kB / 1.214 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.476, allocations: 56.27 kB / 1.214 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.4772, allocations: 491.9 kB / 1.215 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.997e-05/0.4772, allocations: 41.38 kB / 1.215 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.134e-05/0.4773, allocations: 44.38 kB / 1.215 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.4784, allocations: 0.5063 MB / 1.215 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.4785, allocations: 192 / 1.215 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.72e-05/0.4785, allocations: 23.94 kB / 1.215 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/0.4785, allocations: 15.98 kB / 1.215 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/0.4799, allocations: 429.9 kB / 1.216 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001679/0.4816, allocations: 1.239 MB / 1.217 GB, free: 244 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.4827, allocations: 408.8 kB / 1.217 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006253/0.4833, allocations: 218.5 kB / 1.217 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.299e-05/0.4834, allocations: 11.91 kB / 1.217 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.298e-05/0.4834, allocations: 42.5 kB / 1.217 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=41): time 3.276e-06/0.4834, allocations: 0 / 1.217 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of matching and sorting (n=41): time 0.001904/0.4854, allocations: 0.5684 MB / 1.218 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.32e-05/0.4855, allocations: 114.8 kB / 1.218 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003204/0.4858, allocations: 286.7 kB / 1.218 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.4858, allocations: 29.7 kB / 1.218 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.486, allocations: 224.2 kB / 1.219 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/0.4862, allocations: 114.4 kB / 1.219 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.4864, allocations: 94.11 kB / 1.219 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002336/0.4866, allocations: 346.8 kB / 1.219 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000545/0.4871, allocations: 160.7 kB / 1.219 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005888/0.4877, allocations: 257.5 kB / 1.219 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.4889, allocations: 386.3 kB / 1.22 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4889, allocations: 0 / 1.22 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001343/0.4902, allocations: 487.8 kB / 1.22 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.4903, allocations: 8 kB / 1.22 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.4903, allocations: 0 / 1.22 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.4903, allocations: 4 kB / 1.22 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005955/0.4909, allocations: 99.8 kB / 1.22 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.4909, allocations: 7.938 kB / 1.22 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003239/0.4913, allocations: 67.81 kB / 1.221 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/0.4913, allocations: 16 kB / 1.221 GB, free: 12.17 MB / 0.9825 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.0002965/0.4916, allocations: 169.7 kB / 1.221 GB, free: 12 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.844e-05/0.4917, allocations: 31.62 kB / 1.221 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.4918, allocations: 46.2 kB / 1.221 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.4919, allocations: 7.938 kB / 1.221 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.4919, allocations: 3.938 kB / 1.221 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.4919, allocations: 7.984 kB / 1.221 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007505/0.4926, allocations: 453.1 kB / 1.221 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.4927, allocations: 3.938 kB / 1.221 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004059/0.4931, allocations: 87.86 kB / 1.221 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.4931, allocations: 4 kB / 1.221 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.4931, allocations: 11.98 kB / 1.221 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/0.4931, allocations: 11.88 kB / 1.221 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.4931, allocations: 0 / 1.221 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/0.4945, allocations: 0.6573 MB / 1.222 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001918/0.4947, allocations: 108.6 kB / 1.222 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.355e-05/0.4948, allocations: 15.98 kB / 1.222 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003612/0.4951, allocations: 43.89 kB / 1.222 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.4953, allocations: 55.94 kB / 1.222 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/0.4953, allocations: 15.98 kB / 1.222 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001999/0.4955, allocations: 174 kB / 1.222 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.8e-07/0.4955, allocations: 0 / 1.222 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004645/0.496, allocations: 87.59 kB / 1.222 GB, free: 10.1 MB / 0.9825 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.0001967/0.4962, allocations: 131.1 kB / 1.223 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001327/0.4975, allocations: 412 kB / 1.223 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4976, allocations: 0 / 1.223 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006662/0.4982, allocations: 245.7 kB / 1.223 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005587/0.4988, allocations: 48.84 kB / 1.223 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.5004, allocations: 0.6921 MB / 1.224 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006638/0.5011, allocations: 0.8115 MB / 1.225 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002388/0.5013, allocations: 59.27 kB / 1.225 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.5015, allocations: 43.42 kB / 1.225 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of SimCode: time 4.418e-06/0.5015, allocations: 0 / 1.225 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of Templates: time 0.009347/0.5108, allocations: 4.049 MB / 1.229 GB, free: 3.625 MB / 0.9825 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 -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/jenkins/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