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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 217.4 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 8.066 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.327/3.327, allocations: 0.505 GB / 0.8108 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 73.55 kB / 1.178 GB, free: 17.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.4225, allocations: 180.2 MB / 1.354 GB, free: 8.035 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides): time 0.003699/0.4262, allocations: 1.759 MB / 1.356 GB, free: 6.277 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001963/0.4282, allocations: 1.198 MB / 1.357 GB, free: 5.066 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002644/0.4285, allocations: 4 kB / 1.357 GB, free: 5.062 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001809/0.4286, allocations: 55.27 kB / 1.357 GB, free: 5.008 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002389/0.4289, allocations: 59.34 kB / 1.357 GB, free: 4.949 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005037/0.4294, allocations: 191.7 kB / 1.357 GB, free: 4.762 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005436/0.4299, allocations: 0.4971 MB / 1.358 GB, free: 4.262 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004482/0.4304, allocations: 217.2 kB / 1.358 GB, free: 4.039 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002677/0.4307, allocations: 211.2 kB / 1.358 GB, free: 3.832 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002945/0.4309, allocations: 238.9 kB / 1.358 GB, free: 3.598 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.883e-05/0.431, allocations: 56 kB / 1.358 GB, free: 3.543 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.417e-05/0.4311, allocations: 60 kB / 1.359 GB, free: 3.484 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.4312, allocations: 119.6 kB / 1.359 GB, free: 3.367 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002486/0.4315, allocations: 246.7 kB / 1.359 GB, free: 3.125 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0008907/0.4324, allocations: 0.6962 MB / 1.36 GB, free: 2.426 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4324, allocations: 7.938 kB / 1.36 GB, free: 2.418 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4324, allocations: 4 kB / 1.36 GB, free: 2.414 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.493e-05/0.4324, allocations: 0 / 1.36 GB, free: 2.414 MB / 1.045 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.001494/0.4339, allocations: 0.6882 MB / 1.36 GB, free: 1.691 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.4339, allocations: 8.031 kB / 1.36 GB, free: 1.684 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.434, allocations: 64.56 kB / 1.36 GB, free: 1.621 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.4352, allocations: 420.5 kB / 1.361 GB, free: 1.184 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.757e-05/0.4353, allocations: 37.38 kB / 1.361 GB, free: 1.148 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.753e-05/0.4354, allocations: 48.38 kB / 1.361 GB, free: 1.102 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.4364, allocations: 0.4984 MB / 1.361 GB, free: 0.5898 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.4365, allocations: 192 / 1.361 GB, free: 0.5898 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.656e-05/0.4365, allocations: 23.94 kB / 1.361 GB, free: 0.5664 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/0.4365, allocations: 12 kB / 1.361 GB, free: 0.5547 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.4378, allocations: 437.6 kB / 1.362 GB, free: 128 kB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001975/0.4397, allocations: 1.19 MB / 1.363 GB, free: 14.88 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.4409, allocations: 395.7 kB / 1.363 GB, free: 14.47 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005961/0.4415, allocations: 210.4 kB / 1.363 GB, free: 14.25 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.075e-05/0.4415, allocations: 4 kB / 1.363 GB, free: 14.25 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.636e-05/0.4416, allocations: 42.5 kB / 1.364 GB, free: 14.2 MB / 1.061 GB Notification: Performance of pre-optimization done (n=41): time 2.384e-06/0.4416, allocations: 0 / 1.364 GB, free: 14.2 MB / 1.061 GB Notification: Performance of matching and sorting (n=41): time 0.002081/0.4436, allocations: 0.5727 MB / 1.364 GB, free: 13.62 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.914e-05/0.4437, allocations: 110.8 kB / 1.364 GB, free: 13.49 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003207/0.4441, allocations: 280.1 kB / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.041e-05/0.4441, allocations: 37.7 kB / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.4443, allocations: 228.5 kB / 1.365 GB, free: 12.93 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.4444, allocations: 123 kB / 1.365 GB, free: 12.81 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.4446, allocations: 102.1 kB / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.4448, allocations: 338.8 kB / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000549/0.4453, allocations: 168.7 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006988/0.446, allocations: 253.6 kB / 1.366 GB, free: 11.92 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.4471, allocations: 392.3 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.4471, allocations: 4 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001563/0.4487, allocations: 468.9 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/0.4487, allocations: 8 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.4487, allocations: 4 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.516e-05/0.4488, allocations: 4.25 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005222/0.4493, allocations: 103.8 kB / 1.367 GB, free: 10.92 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/0.4493, allocations: 11.88 kB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003377/0.4496, allocations: 67.62 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-05/0.4497, allocations: 16 kB / 1.367 GB, free: 10.82 MB / 1.061 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.0003764/0.45, allocations: 178.4 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.4502, allocations: 31.81 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.4503, allocations: 42.14 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.4503, allocations: 11.92 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.4503, allocations: 4 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.4503, allocations: 0 / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007204/0.451, allocations: 436.2 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.451, allocations: 8 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004029/0.4514, allocations: 75.86 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.4514, allocations: 4 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.052e-05/0.4515, allocations: 12 kB / 1.367 GB, free: 9.988 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.855e-06/0.4515, allocations: 7.875 kB / 1.367 GB, free: 9.98 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.4515, allocations: 4 kB / 1.367 GB, free: 9.977 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/0.4528, allocations: 0.6662 MB / 1.368 GB, free: 9.293 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.29e-05/0.4529, allocations: 31.75 kB / 1.368 GB, free: 9.262 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.1e-05/0.4529, allocations: 8 kB / 1.368 GB, free: 9.254 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003552/0.4533, allocations: 43.89 kB / 1.368 GB, free: 9.211 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/0.4535, allocations: 63.91 kB / 1.368 GB, free: 9.148 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/0.4535, allocations: 12 kB / 1.368 GB, free: 9.137 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001905/0.4537, allocations: 179.1 kB / 1.368 GB, free: 8.965 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4537, allocations: 0 / 1.368 GB, free: 8.965 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004747/0.4541, allocations: 95.67 kB / 1.369 GB, free: 8.871 MB / 1.061 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.0001729/0.4543, allocations: 116.3 kB / 1.369 GB, free: 8.746 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001275/0.4556, allocations: 408 kB / 1.369 GB, free: 8.348 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4556, allocations: 0 / 1.369 GB, free: 8.348 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000651/0.4562, allocations: 213.7 kB / 1.369 GB, free: 8.141 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005717/0.4568, allocations: 52.91 kB / 1.369 GB, free: 8.086 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.4582, allocations: 0.7234 MB / 1.37 GB, free: 7.324 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005098/0.4587, allocations: 0.8114 MB / 1.371 GB, free: 6.48 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.4589, allocations: 43.42 kB / 1.371 GB, free: 6.438 MB / 1.061 GB Notification: Performance of SimCode: time 6.91e-07/0.4589, allocations: 4 kB / 1.371 GB, free: 6.434 MB / 1.061 GB Notification: Performance of Templates: time 0.008275/0.4672, allocations: 4.892 MB / 1.376 GB, free: 1.566 MB / 1.061 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/jenkins1/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: 11.903376539994497]