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 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.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.001304/0.001304, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 196.2 kB / 16.53 MB, free: 6.699 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.466/1.466, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.05/3.05, allocations: 472.6 MB / 0.7451 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 70.08 kB / 0.9121 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.3978, allocations: 159.9 MB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides): time 0.003886/0.4018, allocations: 1.748 MB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001597/0.4034, allocations: 1.162 MB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.4036, allocations: 8 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001081/0.4037, allocations: 59.27 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.4039, allocations: 51.34 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003536/0.4042, allocations: 183.8 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004387/0.4047, allocations: 0.5009 MB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004669/0.4052, allocations: 284.7 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002053/0.4054, allocations: 207.2 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002159/0.4056, allocations: 226.9 kB / 1.073 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.807e-05/0.4057, allocations: 67.92 kB / 1.073 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.881e-05/0.4058, allocations: 59.94 kB / 1.073 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.4059, allocations: 123.7 kB / 1.073 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002112/0.4061, allocations: 242.7 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006907/0.4068, allocations: 0.6621 MB / 1.074 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.218e-06/0.4068, allocations: 4 kB / 1.074 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4068, allocations: 0 / 1.074 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.4068, allocations: 0 / 1.074 GB, free: 4.715 MB / 0.8262 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.001363/0.4082, allocations: 0.7562 MB / 1.074 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.4082, allocations: 16.03 kB / 1.074 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.204e-05/0.4083, allocations: 52.28 kB / 1.075 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.4095, allocations: 495.9 kB / 1.075 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.618e-05/0.4095, allocations: 37.38 kB / 1.075 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.934e-05/0.4096, allocations: 48.38 kB / 1.075 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.4106, allocations: 0.4986 MB / 1.076 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.4106, allocations: 192 / 1.076 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.307e-05/0.4107, allocations: 23.94 kB / 1.076 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.4107, allocations: 12 kB / 1.076 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.4119, allocations: 430.4 kB / 1.076 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.4135, allocations: 1.251 MB / 1.077 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009004/0.4145, allocations: 415.1 kB / 1.078 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005575/0.415, allocations: 218.4 kB / 1.078 GB, free: 308 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.508e-05/0.4151, allocations: 15.98 kB / 1.078 GB, free: 292 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.4151, allocations: 42.56 kB / 1.078 GB, free: 240 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=41): time 4.388e-06/0.4151, allocations: 0 / 1.078 GB, free: 240 kB / 0.8262 GB Notification: Performance of matching and sorting (n=41): time 0.001763/0.4169, allocations: 0.5733 MB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.268e-05/0.417, allocations: 114.8 kB / 1.079 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003194/0.4173, allocations: 282.7 kB / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.4174, allocations: 29.7 kB / 1.079 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.4175, allocations: 224.2 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.405e-05/0.4176, allocations: 114.4 kB / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.4177, allocations: 94.11 kB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.4179, allocations: 346.8 kB / 1.08 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005279/0.4185, allocations: 160.7 kB / 1.08 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000585/0.4191, allocations: 253.5 kB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.4202, allocations: 394.6 kB / 1.08 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.4202, allocations: 0 / 1.08 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001436/0.4217, allocations: 475.4 kB / 1.081 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.4217, allocations: 8 kB / 1.081 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.4217, allocations: 7.922 kB / 1.081 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.4217, allocations: 4 kB / 1.081 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000466/0.4222, allocations: 99.8 kB / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/0.4222, allocations: 11.92 kB / 1.081 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003131/0.4226, allocations: 67.77 kB / 1.081 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.4226, allocations: 15.98 kB / 1.081 GB, free: 12.88 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.0002633/0.4229, allocations: 171.5 kB / 1.081 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.771e-05/0.423, allocations: 35.62 kB / 1.081 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.619e-05/0.4231, allocations: 46.2 kB / 1.081 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.4231, allocations: 7.938 kB / 1.081 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.4231, allocations: 3.938 kB / 1.081 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.4231, allocations: 7.984 kB / 1.081 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006006/0.4237, allocations: 457 kB / 1.082 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4237, allocations: 0 / 1.082 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000394/0.4241, allocations: 83.86 kB / 1.082 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.4241, allocations: 4 kB / 1.082 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.4242, allocations: 8 kB / 1.082 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/0.4242, allocations: 11.92 kB / 1.082 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4242, allocations: 3.938 kB / 1.082 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/0.4255, allocations: 0.657 MB / 1.082 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.581e-05/0.4256, allocations: 112.6 kB / 1.083 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.603e-05/0.4256, allocations: 12 kB / 1.083 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003503/0.426, allocations: 47.88 kB / 1.083 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.4261, allocations: 55.94 kB / 1.083 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.4261, allocations: 12 kB / 1.083 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001607/0.4263, allocations: 182 kB / 1.083 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4263, allocations: 0 / 1.083 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004298/0.4268, allocations: 83.59 kB / 1.083 GB, free: 10.81 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.0001835/0.4269, allocations: 127.2 kB / 1.083 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001346/0.4283, allocations: 439.5 kB / 1.083 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4283, allocations: 0 / 1.083 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006758/0.429, allocations: 239.8 kB / 1.084 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006296/0.4296, allocations: 56.5 kB / 1.084 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.4313, allocations: 0.6867 MB / 1.084 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005349/0.4319, allocations: 0.8154 MB / 1.085 GB, free: 8.398 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002764/0.4322, allocations: 59.25 kB / 1.085 GB, free: 8.344 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.4323, allocations: 47.42 kB / 1.085 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of SimCode: time 2.475e-06/0.4323, allocations: 0 / 1.085 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of Templates: time 0.009277/0.4416, allocations: 3.916 MB / 1.089 GB, free: 4.453 MB / 0.8419 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