Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00139/0.00139, 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.001438/0.001438, allocations: 199.2 kB / 16.54 MB, free: 6.664 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.508/1.508, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.908/2.908, allocations: 437 MB / 0.7104 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 67.89 kB / 0.8693 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8375/0.8394, allocations: 151.6 MB / 1.017 GB, free: 2.547 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides): time 0.003693/0.8432, allocations: 1.762 MB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001719/0.8449, allocations: 1.159 MB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001819/0.8451, allocations: 8 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001324/0.8453, allocations: 51.33 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.8455, allocations: 47.36 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003862/0.8459, allocations: 187.7 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005177/0.8464, allocations: 0.4886 MB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000517/0.8469, allocations: 276.6 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002622/0.8472, allocations: 207.2 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002751/0.8475, allocations: 242.9 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.676e-05/0.8476, allocations: 56 kB / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.868e-05/0.8477, allocations: 56 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.8478, allocations: 119.6 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002458/0.848, allocations: 238.7 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007276/0.8488, allocations: 0.6559 MB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.8488, allocations: 4 kB / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.088e-06/0.8488, allocations: 0 / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.8488, allocations: 3.938 kB / 1.023 GB, free: 12.99 MB / 0.7794 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.001505/0.8503, allocations: 0.7579 MB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.8504, allocations: 8.031 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.8505, allocations: 52.28 kB / 1.024 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.8518, allocations: 488 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.904e-05/0.8519, allocations: 41.31 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.02e-05/0.8519, allocations: 40.38 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.853, allocations: 0.4983 MB / 1.025 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.8531, allocations: 192 / 1.025 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.797e-05/0.8531, allocations: 23.94 kB / 1.025 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.8531, allocations: 12 kB / 1.025 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/0.8544, allocations: 425.4 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001919/0.8564, allocations: 1.235 MB / 1.026 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009884/0.8574, allocations: 397.3 kB / 1.027 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006781/0.8581, allocations: 218.5 kB / 1.027 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.395e-05/0.8581, allocations: 19.98 kB / 1.027 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.8582, allocations: 38.5 kB / 1.027 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=40): time 2.344e-06/0.8582, allocations: 0 / 1.027 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of matching and sorting (n=40): time 0.002246/0.8604, allocations: 0.5652 MB / 1.027 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.265e-05/0.8605, allocations: 114.8 kB / 1.028 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003236/0.8609, allocations: 278.8 kB / 1.028 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/0.8609, allocations: 33.7 kB / 1.028 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.8611, allocations: 220.2 kB / 1.028 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.8612, allocations: 122.3 kB / 1.028 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.8614, allocations: 90.11 kB / 1.028 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.8615, allocations: 342.8 kB / 1.029 GB, free: 6.758 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005639/0.8621, allocations: 168.7 kB / 1.029 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006615/0.8628, allocations: 253.6 kB / 1.029 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.864, allocations: 382.2 kB / 1.029 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.864, allocations: 0 / 1.029 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001383/0.8654, allocations: 468.6 kB / 1.03 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.8654, allocations: 9.562 kB / 1.03 GB, free: 5.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.8654, allocations: 3.984 kB / 1.03 GB, free: 5.426 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/0.8654, allocations: 8 kB / 1.03 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005191/0.866, allocations: 95.86 kB / 1.03 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.929e-05/0.866, allocations: 15.86 kB / 1.03 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003411/0.8663, allocations: 63.89 kB / 1.03 GB, free: 5.246 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.551e-05/0.8664, allocations: 19.98 kB / 1.03 GB, free: 5.227 MB / 0.7794 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.0003585/0.8668, allocations: 165.8 kB / 1.03 GB, free: 5.055 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.8669, allocations: 39.56 kB / 1.03 GB, free: 5.016 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.935e-05/0.867, allocations: 42.2 kB / 1.03 GB, free: 4.973 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.867, allocations: 4 kB / 1.03 GB, free: 4.969 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.867, allocations: 3.938 kB / 1.03 GB, free: 4.965 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.867, allocations: 3.984 kB / 1.03 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007406/0.8678, allocations: 461 kB / 1.031 GB, free: 4.461 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.8678, allocations: 4 kB / 1.031 GB, free: 4.457 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004175/0.8682, allocations: 79.86 kB / 1.031 GB, free: 4.379 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.8682, allocations: 8 kB / 1.031 GB, free: 4.371 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/0.8683, allocations: 8 kB / 1.031 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.8683, allocations: 3.938 kB / 1.031 GB, free: 4.359 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.8683, allocations: 7.938 kB / 1.031 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.8696, allocations: 0.6574 MB / 1.031 GB, free: 3.68 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.75e-05/0.8697, allocations: 108.7 kB / 1.032 GB, free: 3.555 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.171e-05/0.8698, allocations: 4 kB / 1.032 GB, free: 3.551 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004066/0.8702, allocations: 43.95 kB / 1.032 GB, free: 3.508 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/0.8704, allocations: 67.86 kB / 1.032 GB, free: 3.441 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.8704, allocations: 8 kB / 1.032 GB, free: 3.434 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001781/0.8706, allocations: 178 kB / 1.032 GB, free: 3.258 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.114e-06/0.8706, allocations: 0 / 1.032 GB, free: 3.258 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004592/0.871, allocations: 95.53 kB / 1.032 GB, free: 3.164 MB / 0.7794 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.0001817/0.8712, allocations: 120.5 kB / 1.032 GB, free: 3.039 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00136/0.8726, allocations: 427.5 kB / 1.032 GB, free: 2.621 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8726, allocations: 0 / 1.032 GB, free: 2.621 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007083/0.8733, allocations: 242.3 kB / 1.033 GB, free: 2.387 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005628/0.8739, allocations: 48.55 kB / 1.033 GB, free: 2.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.8753, allocations: 0.6808 MB / 1.033 GB, free: 1.629 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005579/0.8758, allocations: 0.8115 MB / 1.034 GB, free: 0.7852 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002705/0.8761, allocations: 54.89 kB / 1.034 GB, free: 0.7305 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.8762, allocations: 43.42 kB / 1.034 GB, free: 0.6875 MB / 0.7794 GB Notification: Performance of SimCode: time 7.52e-07/0.8762, allocations: 4 kB / 1.034 GB, free: 0.6836 MB / 0.7794 GB Notification: Performance of Templates: time 0.009642/0.8859, allocations: 3.87 MB / 1.038 GB, free: 12.88 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Overrides.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches