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.001675/0.001675, allocations: 110 kB / 18.93 MB, free: 2.945 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.002069/0.002069, allocations: 192.5 kB / 22.23 MB, free: 5.16 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.598/1.598, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.428/3.428, allocations: 0.4893 GB / 0.7884 GB, free: 33.2 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=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.002059/0.002059, allocations: 62.73 kB / 1.145 GB, free: 30.95 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4337/0.4357, allocations: 174.9 MB / 1.316 GB, free: 9.844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides): time 0.003461/0.4392, allocations: 1.771 MB / 1.318 GB, free: 8.074 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001866/0.441, allocations: 1.17 MB / 1.319 GB, free: 6.891 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002161/0.4413, allocations: 12 kB / 1.319 GB, free: 6.879 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.4414, allocations: 47.34 kB / 1.319 GB, free: 6.832 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002092/0.4416, allocations: 55.34 kB / 1.319 GB, free: 6.777 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004317/0.442, allocations: 187.7 kB / 1.319 GB, free: 6.594 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005631/0.4426, allocations: 0.5048 MB / 1.32 GB, free: 6.086 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005497/0.4432, allocations: 213.2 kB / 1.32 GB, free: 5.871 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003609/0.4435, allocations: 207.2 kB / 1.32 GB, free: 5.668 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003424/0.4439, allocations: 242.9 kB / 1.32 GB, free: 5.43 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001436/0.444, allocations: 63.98 kB / 1.32 GB, free: 5.367 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.631e-05/0.4441, allocations: 56 kB / 1.32 GB, free: 5.312 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.4442, allocations: 127.5 kB / 1.321 GB, free: 5.188 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003995/0.4446, allocations: 238.7 kB / 1.321 GB, free: 4.953 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0009521/0.4456, allocations: 0.6962 MB / 1.321 GB, free: 4.254 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4456, allocations: 0 / 1.321 GB, free: 4.254 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4456, allocations: 0 / 1.321 GB, free: 4.254 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.68e-05/0.4456, allocations: 0 / 1.321 GB, free: 4.254 MB / 1.014 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.001501/0.4471, allocations: 0.7038 MB / 1.322 GB, free: 3.516 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.4472, allocations: 8.031 kB / 1.322 GB, free: 3.508 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.4473, allocations: 56.61 kB / 1.322 GB, free: 3.453 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.4484, allocations: 428.4 kB / 1.323 GB, free: 3.012 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.852e-05/0.4485, allocations: 37.38 kB / 1.323 GB, free: 2.977 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.708e-05/0.4486, allocations: 48.31 kB / 1.323 GB, free: 2.93 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.4496, allocations: 0.4985 MB / 1.323 GB, free: 2.418 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.4497, allocations: 192 / 1.323 GB, free: 2.418 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.073e-05/0.4497, allocations: 23.94 kB / 1.323 GB, free: 2.395 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.4497, allocations: 12 kB / 1.323 GB, free: 2.383 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.4509, allocations: 430.1 kB / 1.324 GB, free: 1.965 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001926/0.4528, allocations: 1.189 MB / 1.325 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009658/0.4538, allocations: 387.7 kB / 1.325 GB, free: 320 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005655/0.4544, allocations: 206.5 kB / 1.325 GB, free: 104 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.937e-05/0.4544, allocations: 8 kB / 1.325 GB, free: 96 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.4545, allocations: 42.5 kB / 1.325 GB, free: 44 kB / 1.014 GB Notification: Performance of pre-optimization done (n=41): time 1.723e-06/0.4545, allocations: 0 / 1.325 GB, free: 44 kB / 1.014 GB Notification: Performance of matching and sorting (n=41): time 0.001844/0.4563, allocations: 0.5729 MB / 1.326 GB, free: 15.46 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.647e-05/0.4564, allocations: 110.8 kB / 1.326 GB, free: 15.33 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003126/0.4567, allocations: 284.1 kB / 1.326 GB, free: 15.04 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.4567, allocations: 29.7 kB / 1.326 GB, free: 15.01 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.4569, allocations: 228.5 kB / 1.327 GB, free: 14.78 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.457, allocations: 126.9 kB / 1.327 GB, free: 14.66 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.4572, allocations: 106 kB / 1.327 GB, free: 14.54 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001815/0.4574, allocations: 342.8 kB / 1.327 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005209/0.4579, allocations: 164.7 kB / 1.327 GB, free: 14.04 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005926/0.4585, allocations: 253.7 kB / 1.328 GB, free: 13.76 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.4595, allocations: 383.9 kB / 1.328 GB, free: 13.35 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.4595, allocations: 0 / 1.328 GB, free: 13.35 MB / 1.029 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001285/0.4608, allocations: 476.8 kB / 1.328 GB, free: 12.88 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.4608, allocations: 8 kB / 1.328 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.4609, allocations: 0 / 1.328 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.4609, allocations: 4 kB / 1.328 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004795/0.4614, allocations: 103.7 kB / 1.328 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.4614, allocations: 8.234 kB / 1.329 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003097/0.4617, allocations: 71.69 kB / 1.329 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/0.4617, allocations: 16 kB / 1.329 GB, free: 12.67 MB / 1.029 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.0003216/0.462, allocations: 173.8 kB / 1.329 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.699e-05/0.4621, allocations: 35.75 kB / 1.329 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.54e-05/0.4622, allocations: 42.14 kB / 1.329 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.4622, allocations: 7.938 kB / 1.329 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.497e-06/0.4622, allocations: 3.984 kB / 1.329 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.4623, allocations: 7.938 kB / 1.329 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006676/0.4629, allocations: 432.1 kB / 1.329 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.4629, allocations: 0 / 1.329 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003969/0.4633, allocations: 91.84 kB / 1.329 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.325e-06/0.4633, allocations: 7.984 kB / 1.329 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.4634, allocations: 4 kB / 1.329 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.4634, allocations: 7.938 kB / 1.329 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4634, allocations: 0 / 1.329 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001314/0.4647, allocations: 0.6613 MB / 1.33 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.406e-05/0.4647, allocations: 35.69 kB / 1.33 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.337e-05/0.4648, allocations: 12 kB / 1.33 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003393/0.4651, allocations: 39.89 kB / 1.33 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/0.4653, allocations: 63.84 kB / 1.33 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/0.4653, allocations: 12 kB / 1.33 GB, free: 10.98 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002024/0.4655, allocations: 183.1 kB / 1.33 GB, free: 10.8 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4655, allocations: 0 / 1.33 GB, free: 10.8 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004565/0.466, allocations: 95.67 kB / 1.33 GB, free: 10.71 MB / 1.029 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.0001701/0.4661, allocations: 120.6 kB / 1.331 GB, free: 10.58 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001201/0.4673, allocations: 401.2 kB / 1.331 GB, free: 10.19 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4673, allocations: 0 / 1.331 GB, free: 10.19 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006478/0.468, allocations: 224.2 kB / 1.331 GB, free: 9.973 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005537/0.4685, allocations: 56.8 kB / 1.331 GB, free: 9.918 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.4699, allocations: 0.696 MB / 1.332 GB, free: 9.191 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004769/0.4704, allocations: 0.8114 MB / 1.333 GB, free: 8.348 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002287/0.4706, allocations: 63.2 kB / 1.333 GB, free: 8.285 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.4708, allocations: 43.42 kB / 1.333 GB, free: 8.242 MB / 1.029 GB Notification: Performance of SimCode: time 6.11e-07/0.4708, allocations: 0 / 1.333 GB, free: 8.242 MB / 1.029 GB Notification: Performance of Templates: time 0.01013/0.4809, allocations: 4.14 MB / 1.337 GB, free: 4.172 MB / 1.029 GB " [Timeout remaining time 300] 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/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.336833606474102]