Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.Overrides") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.Overrides") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001822/0.001821, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002019/0.002019, allocations: 190.2 kB / 16.25 MB, free: 6.621 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.505/1.505, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.995/2.995, allocations: 482.3 MB / 0.7543 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.00194, allocations: 74.67 kB / 0.9234 GB, free: 29.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3892, allocations: 162.2 MB / 1.082 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides): time 0.003621/0.3929, allocations: 1.787 MB / 1.084 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001821/0.3947, allocations: 1.151 MB / 1.085 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002148/0.395, allocations: 8 kB / 1.085 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.3951, allocations: 31.64 kB / 1.085 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001991/0.3953, allocations: 27.67 kB / 1.085 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003843/0.3957, allocations: 167.9 kB / 1.085 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005339/0.3963, allocations: 0.4931 MB / 1.085 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005086/0.3968, allocations: 288.7 kB / 1.086 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002525/0.3971, allocations: 199.3 kB / 1.086 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002717/0.3973, allocations: 230.9 kB / 1.086 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.486e-05/0.3974, allocations: 64 kB / 1.086 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.309e-05/0.3975, allocations: 56 kB / 1.086 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.3976, allocations: 131.6 kB / 1.086 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002377/0.3979, allocations: 238.6 kB / 1.087 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007267/0.3986, allocations: 0.666 MB / 1.087 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.3986, allocations: 4 kB / 1.087 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.766e-06/0.3986, allocations: 0 / 1.087 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.677e-06/0.3987, allocations: 0 / 1.087 GB, free: 8.035 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.001542/0.4002, allocations: 0.7562 MB / 1.088 GB, free: 7.227 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.4003, allocations: 12.03 kB / 1.088 GB, free: 7.215 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.4004, allocations: 52.28 kB / 1.088 GB, free: 7.164 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.4016, allocations: 499.8 kB / 1.088 GB, free: 6.637 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.419e-05/0.4017, allocations: 41.36 kB / 1.088 GB, free: 6.598 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.148e-05/0.4018, allocations: 48.38 kB / 1.089 GB, free: 6.551 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.4029, allocations: 0.4947 MB / 1.089 GB, free: 6.043 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.4029, allocations: 192 / 1.089 GB, free: 6.043 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.741e-05/0.403, allocations: 23.94 kB / 1.089 GB, free: 6.02 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.403, allocations: 12 kB / 1.089 GB, free: 6.008 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.4042, allocations: 425.9 kB / 1.089 GB, free: 5.594 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001939/0.4062, allocations: 1.255 MB / 1.091 GB, free: 4.277 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009821/0.4072, allocations: 403.7 kB / 1.091 GB, free: 3.855 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006051/0.4078, allocations: 226.5 kB / 1.091 GB, free: 3.625 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.5e-05/0.4079, allocations: 15.97 kB / 1.091 GB, free: 3.609 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.4079, allocations: 38.56 kB / 1.091 GB, free: 3.562 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=41): time 1.553e-06/0.4079, allocations: 0 / 1.091 GB, free: 3.562 MB / 0.8419 GB Notification: Performance of matching and sorting (n=41): time 0.001859/0.4098, allocations: 0.5735 MB / 1.092 GB, free: 2.984 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.658e-05/0.4099, allocations: 114.7 kB / 1.092 GB, free: 2.848 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003126/0.4102, allocations: 282.7 kB / 1.092 GB, free: 2.559 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.561e-05/0.4102, allocations: 29.7 kB / 1.092 GB, free: 2.523 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.4104, allocations: 220.2 kB / 1.093 GB, free: 2.305 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.4106, allocations: 118.3 kB / 1.093 GB, free: 2.188 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.4107, allocations: 98.11 kB / 1.093 GB, free: 2.086 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.4109, allocations: 342.8 kB / 1.093 GB, free: 1.742 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005321/0.4114, allocations: 160.7 kB / 1.093 GB, free: 1.586 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006123/0.4121, allocations: 249.6 kB / 1.093 GB, free: 1.309 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.4131, allocations: 402.7 kB / 1.094 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.4132, allocations: 0 / 1.094 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001262/0.4144, allocations: 467.4 kB / 1.094 GB, free: 432 kB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.4145, allocations: 4 kB / 1.094 GB, free: 428 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.4145, allocations: 4 kB / 1.094 GB, free: 424 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.4145, allocations: 4 kB / 1.094 GB, free: 420 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005108/0.415, allocations: 108 kB / 1.094 GB, free: 312 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.415, allocations: 4 kB / 1.094 GB, free: 308 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000325/0.4154, allocations: 63.64 kB / 1.094 GB, free: 244 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.158e-05/0.4154, allocations: 15.98 kB / 1.094 GB, free: 228 kB / 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.0002948/0.4157, allocations: 181.4 kB / 1.095 GB, free: 36 kB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/0.4159, allocations: 35.62 kB / 1.095 GB, free: 0 / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.416, allocations: 42.2 kB / 1.095 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.416, allocations: 7.938 kB / 1.095 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.416, allocations: 3.938 kB / 1.095 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.4161, allocations: 3.984 kB / 1.095 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007487/0.4168, allocations: 465 kB / 1.095 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.4168, allocations: 0 / 1.095 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004018/0.4172, allocations: 87.86 kB / 1.095 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.4172, allocations: 0 / 1.095 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.4173, allocations: 11.98 kB / 1.095 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.275e-05/0.4173, allocations: 7.938 kB / 1.095 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4173, allocations: 0 / 1.095 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.4186, allocations: 0.665 MB / 1.096 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.441e-05/0.4187, allocations: 112.6 kB / 1.096 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.531e-05/0.4188, allocations: 12 kB / 1.096 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003482/0.4191, allocations: 39.88 kB / 1.096 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/0.4193, allocations: 59.94 kB / 1.096 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.244e-05/0.4193, allocations: 12 kB / 1.096 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001743/0.4195, allocations: 178 kB / 1.096 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4195, allocations: 8 kB / 1.096 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004599/0.42, allocations: 83.59 kB / 1.096 GB, free: 14.14 MB / 0.8575 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.0001843/0.4202, allocations: 123.7 kB / 1.097 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001291/0.4215, allocations: 443.7 kB / 1.097 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.4215, allocations: 4 kB / 1.097 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006452/0.4221, allocations: 231.7 kB / 1.097 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005773/0.4227, allocations: 48.86 kB / 1.097 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.4242, allocations: 0.8501 MB / 1.098 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005273/0.4248, allocations: 0.8193 MB / 1.099 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002842/0.425, allocations: 51.28 kB / 1.099 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.4252, allocations: 43.42 kB / 1.099 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of SimCode: time 4.21e-07/0.4252, allocations: 4 kB / 1.099 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of Templates: time 0.009121/0.4343, allocations: 3.58 MB / 1.102 GB, free: 7.965 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Overrides.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches