Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001247/0.001247, allocations: 106.1 kB / 16.41 MB, free: 6.008 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.001119/0.00112, allocations: 185.7 kB / 17.34 MB, free: 5.629 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.465/1.465, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.41/2.41, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 71.89 kB / 0.9516 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9587/0.9601, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides): time 0.003098/0.9632, allocations: 1.747 MB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001526/0.9647, allocations: 1.144 MB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002052/0.965, allocations: 7.219 kB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001323/0.9651, allocations: 54.05 kB / 1.092 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001983/0.9653, allocations: 54.92 kB / 1.092 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004225/0.9658, allocations: 183.1 kB / 1.092 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005734/0.9663, allocations: 0.4925 MB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004982/0.9668, allocations: 277.7 kB / 1.093 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002527/0.9671, allocations: 204.1 kB / 1.093 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002932/0.9674, allocations: 239.9 kB / 1.093 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.9675, allocations: 57 kB / 1.093 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.885e-05/0.9676, allocations: 57.34 kB / 1.093 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.9677, allocations: 122.4 kB / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001884/0.9679, allocations: 233.7 kB / 1.093 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008461/0.9688, allocations: 0.6818 MB / 1.094 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.9688, allocations: 0 / 1.094 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.873e-06/0.9688, allocations: 0.7812 kB / 1.094 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.9688, allocations: 0 / 1.094 GB, free: 2.055 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001399/0.9702, allocations: 0.7565 MB / 1.095 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.9703, allocations: 10.39 kB / 1.095 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.9704, allocations: 53.78 kB / 1.095 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.9716, allocations: 499.2 kB / 1.095 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.703e-05/0.9717, allocations: 38.31 kB / 1.095 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.267e-05/0.9718, allocations: 45.41 kB / 1.095 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.973, allocations: 0.4952 MB / 1.096 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.9731, allocations: 8.656 kB / 1.096 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.45e-05/0.9731, allocations: 19.88 kB / 1.096 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.202e-05/0.9731, allocations: 15.16 kB / 1.096 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.9746, allocations: 420.4 kB / 1.096 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001908/0.9765, allocations: 1.21 MB / 1.098 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.9776, allocations: 399.5 kB / 1.098 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006595/0.9783, allocations: 224.4 kB / 1.098 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.836e-05/0.9784, allocations: 8.938 kB / 1.098 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.9784, allocations: 46 kB / 1.098 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=40): time 2.425e-06/0.9784, allocations: 0 / 1.098 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of matching and sorting (n=40): time 0.002026/0.9804, allocations: 0.5651 MB / 1.099 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.651e-05/0.9805, allocations: 111.5 kB / 1.099 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003511/0.9809, allocations: 280.8 kB / 1.099 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.599e-05/0.9809, allocations: 35.58 kB / 1.099 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.9811, allocations: 218.1 kB / 1.099 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.9812, allocations: 110.4 kB / 1.099 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/0.9814, allocations: 100.6 kB / 1.1 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.9816, allocations: 343.6 kB / 1.1 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006011/0.9822, allocations: 159.4 kB / 1.1 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006544/0.9829, allocations: 245.8 kB / 1.1 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/0.9841, allocations: 394.6 kB / 1.101 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.9841, allocations: 4.969 kB / 1.101 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001451/0.9856, allocations: 461.7 kB / 1.101 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.9856, allocations: 8.719 kB / 1.101 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.9856, allocations: 2.844 kB / 1.101 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.9857, allocations: 9.281 kB / 1.101 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005207/0.9862, allocations: 99.67 kB / 1.101 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.9862, allocations: 4.453 kB / 1.101 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003486/0.9866, allocations: 62.08 kB / 1.101 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-05/0.9866, allocations: 17.02 kB / 1.101 GB, free: 13.91 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 23 (reaToInt2.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 (48): * Single equations (assignments): 48 * 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.0002982/0.9869, allocations: 180.9 kB / 1.101 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.987, allocations: 31.03 kB / 1.101 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.695e-05/0.9871, allocations: 44.91 kB / 1.102 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.9871, allocations: 4.875 kB / 1.102 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/0.9872, allocations: 4.766 kB / 1.102 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.9872, allocations: 3.141 kB / 1.102 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007673/0.9879, allocations: 457.3 kB / 1.102 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.988, allocations: 1.219 kB / 1.102 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004395/0.9884, allocations: 86.78 kB / 1.102 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.9884, allocations: 1.969 kB / 1.102 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/0.9885, allocations: 12.67 kB / 1.102 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.9885, allocations: 5.938 kB / 1.102 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.9885, allocations: 1.969 kB / 1.102 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/0.9899, allocations: 0.6555 MB / 1.103 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.538e-05/0.99, allocations: 111.1 kB / 1.103 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.435e-05/0.9901, allocations: 11.3 kB / 1.103 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003961/0.9905, allocations: 36.31 kB / 1.103 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001996/0.9907, allocations: 62.62 kB / 1.103 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/0.9908, allocations: 9.719 kB / 1.103 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002232/0.991, allocations: 177.9 kB / 1.103 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.991, allocations: 4.438 kB / 1.103 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000516/0.9915, allocations: 94.97 kB / 1.103 GB, free: 12.66 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 (ove.forZerFlo.y,ove.forCooMax.y,ove.forMinFlo.y,ove.or3.y,ove.forMinFlo1.y,ove.or1.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 (40): * Single equations (assignments): 40 * 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.0001718/0.9917, allocations: 114.9 kB / 1.103 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001363/0.9931, allocations: 415.8 kB / 1.104 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.9931, allocations: 0.5 kB / 1.104 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006652/0.9937, allocations: 220.1 kB / 1.104 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005685/0.9943, allocations: 48.89 kB / 1.104 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.9956, allocations: 0.6999 MB / 1.105 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.9961, allocations: 0.8147 MB / 1.105 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.9962, allocations: 43.09 kB / 1.105 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of SimCode: time 8.82e-07/0.9963, allocations: 4 kB / 1.105 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of Templates: time 0.01024/1.007, allocations: 4.748 MB / 1.11 GB, free: 10.73 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches