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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001835/0.001835, allocations: 107.4 kB / 17.08 MB, free: 5.824 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002296/0.002296, allocations: 193.2 kB / 20.03 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.075/3.075, allocations: 489.3 MB / 0.7687 GB, free: 3.781 MB / 0.6075 GB " [Timeout remaining time 176] 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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 67.88 kB / 1.103 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.04/1.042, allocations: 163.8 MB / 1.263 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides): time 0.003089/1.046, allocations: 1.764 MB / 1.264 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001675/1.047, allocations: 1.157 MB / 1.265 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002177/1.048, allocations: 10.81 kB / 1.265 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001368/1.048, allocations: 54.23 kB / 1.266 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001911/1.048, allocations: 52.3 kB / 1.266 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004258/1.048, allocations: 187.8 kB / 1.266 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005712/1.049, allocations: 0.4963 MB / 1.266 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004966/1.049, allocations: 284.5 kB / 1.267 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002639/1.05, allocations: 196.5 kB / 1.267 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002766/1.05, allocations: 246.2 kB / 1.267 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001113/1.05, allocations: 57.44 kB / 1.267 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.249e-05/1.05, allocations: 58.19 kB / 1.267 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/1.05, allocations: 123.5 kB / 1.267 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001948/1.051, allocations: 235.1 kB / 1.267 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009175/1.051, allocations: 0.7014 MB / 1.268 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/1.051, allocations: 1.516 kB / 1.268 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.214e-06/1.051, allocations: 0 / 1.268 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.149e-05/1.051, allocations: 0 / 1.268 GB, free: 4.531 MB / 0.9981 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/1.053, allocations: 0.7743 MB / 1.269 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/1.053, allocations: 9.844 kB / 1.269 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/1.053, allocations: 54.72 kB / 1.269 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/1.054, allocations: 0.4966 MB / 1.269 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.132e-05/1.054, allocations: 38.47 kB / 1.269 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.039e-05/1.054, allocations: 45.78 kB / 1.269 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/1.056, allocations: 0.5022 MB / 1.27 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/1.056, allocations: 192 / 1.27 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.454e-05/1.056, allocations: 24 kB / 1.27 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.909e-05/1.056, allocations: 11.47 kB / 1.27 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/1.057, allocations: 431.3 kB / 1.27 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001655/1.059, allocations: 1.229 MB / 1.272 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009849/1.06, allocations: 403.6 kB / 1.272 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006195/1.06, allocations: 234.1 kB / 1.272 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.396e-05/1.06, allocations: 14.45 kB / 1.272 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/1.06, allocations: 37.06 kB / 1.272 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=41): time 2.354e-06/1.06, allocations: 4 kB / 1.272 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of matching and sorting (n=41): time 0.001914/1.062, allocations: 0.5721 MB / 1.273 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/1.062, allocations: 114.9 kB / 1.273 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002767/1.063, allocations: 278.9 kB / 1.273 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/1.063, allocations: 34.95 kB / 1.273 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/1.063, allocations: 227.4 kB / 1.273 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.609e-05/1.063, allocations: 123.5 kB / 1.274 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/1.063, allocations: 102.7 kB / 1.274 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.466e-05/1.063, allocations: 341.3 kB / 1.274 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005558/1.064, allocations: 166.6 kB / 1.274 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005896/1.064, allocations: 255.5 kB / 1.274 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/1.065, allocations: 388.6 kB / 1.275 GB, free: 0.5195 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/1.065, allocations: 1.062 kB / 1.275 GB, free: 0.5195 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001324/1.067, allocations: 472.6 kB / 1.275 GB, free: 368 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/1.067, allocations: 6.672 kB / 1.275 GB, free: 368 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/1.067, allocations: 7.406 kB / 1.275 GB, free: 364 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/1.067, allocations: 3.812 kB / 1.275 GB, free: 364 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005098/1.067, allocations: 101.1 kB / 1.275 GB, free: 352 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/1.067, allocations: 5.062 kB / 1.275 GB, free: 352 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003334/1.068, allocations: 66.52 kB / 1.275 GB, free: 324 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.369e-05/1.068, allocations: 17.53 kB / 1.275 GB, free: 320 kB / 0.9981 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.0002342/1.068, allocations: 180.2 kB / 1.276 GB, free: 156 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.506e-05/1.068, allocations: 35.02 kB / 1.276 GB, free: 136 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.708e-05/1.068, allocations: 41.7 kB / 1.276 GB, free: 104 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/1.068, allocations: 8.594 kB / 1.276 GB, free: 100 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/1.068, allocations: 5.156 kB / 1.276 GB, free: 96 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/1.068, allocations: 7.547 kB / 1.276 GB, free: 92 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007146/1.069, allocations: 451.9 kB / 1.276 GB, free: 15.79 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/1.069, allocations: 1.719 kB / 1.276 GB, free: 15.79 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004276/1.069, allocations: 83.14 kB / 1.276 GB, free: 15.78 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/1.069, allocations: 2.422 kB / 1.276 GB, free: 15.78 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/1.069, allocations: 12.47 kB / 1.276 GB, free: 15.77 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/1.069, allocations: 6.531 kB / 1.276 GB, free: 15.77 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.069, allocations: 1.094 kB / 1.276 GB, free: 15.77 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/1.071, allocations: 0.6635 MB / 1.277 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.865e-05/1.071, allocations: 116.8 kB / 1.277 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.33e-05/1.071, allocations: 6.906 kB / 1.277 GB, free: 15.24 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003834/1.071, allocations: 40.52 kB / 1.277 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/1.071, allocations: 61.72 kB / 1.277 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.027e-05/1.071, allocations: 14.91 kB / 1.277 GB, free: 15.21 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001867/1.072, allocations: 178.2 kB / 1.277 GB, free: 15.1 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.41e-07/1.072, allocations: 0 / 1.277 GB, free: 15.1 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004778/1.072, allocations: 91.77 kB / 1.277 GB, free: 15.07 MB / 1.014 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.0001877/1.072, allocations: 122.9 kB / 1.277 GB, free: 14.97 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001341/1.074, allocations: 416.5 kB / 1.278 GB, free: 14.87 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.074, allocations: 0 / 1.278 GB, free: 14.87 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006569/1.074, allocations: 222.8 kB / 1.278 GB, free: 14.81 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005607/1.075, allocations: 59.8 kB / 1.278 GB, free: 14.77 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/1.076, allocations: 0.7218 MB / 1.279 GB, free: 14.31 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004684/1.077, allocations: 0.812 MB / 1.28 GB, free: 13.6 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/1.077, allocations: 45.16 kB / 1.28 GB, free: 13.59 MB / 1.014 GB Notification: Performance of SimCode: time 3.31e-07/1.077, allocations: 0 / 1.28 GB, free: 13.59 MB / 1.014 GB Notification: Performance of Templates: time 0.009422/1.086, allocations: 4.886 MB / 1.284 GB, free: 13.08 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe 2>&1) [Timeout 800] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.95213027507998]