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) 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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=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_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=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_latest_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.0009676/0.0009679, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.00806/0.00806, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.509/1.509, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.978/2.978, allocations: 462.7 MB / 0.7364 GB, free: 252 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003891/0.0003892, allocations: 15.66 kB / 0.9028 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3728, allocations: 159.6 MB / 1.059 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides): time 0.002427/0.3753, allocations: 1.402 MB / 1.06 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001674/0.377, allocations: 1.135 MB / 1.061 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001549/0.3771, allocations: 4 kB / 1.061 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.999e-05/0.3772, allocations: 31.64 kB / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.3774, allocations: 39.66 kB / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004216/0.3778, allocations: 155.9 kB / 1.061 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004368/0.3783, allocations: 469 kB / 1.062 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004462/0.3787, allocations: 272.7 kB / 1.062 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.3789, allocations: 127.2 kB / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.3791, allocations: 175 kB / 1.062 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.104e-05/0.3792, allocations: 16 kB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.912e-05/0.3792, allocations: 12 kB / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.554e-05/0.3793, allocations: 75.61 kB / 1.063 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002635/0.3796, allocations: 204.4 kB / 1.063 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000575/0.3802, allocations: 0.6112 MB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.3802, allocations: 3.984 kB / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.655e-06/0.3802, allocations: 0 / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.3802, allocations: 4 kB / 1.063 GB, free: 0.7031 MB / 0.8106 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.001471/0.3817, allocations: 0.7058 MB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.3817, allocations: 8.031 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.3819, allocations: 56.28 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.3832, allocations: 0.5233 MB / 1.065 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.797e-05/0.3832, allocations: 37.38 kB / 1.065 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.053e-05/0.3833, allocations: 44.38 kB / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.3845, allocations: 0.5297 MB / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.3845, allocations: 192 / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.805e-05/0.3845, allocations: 23.94 kB / 1.065 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.3846, allocations: 12 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.3859, allocations: 485.8 kB / 1.066 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.3876, allocations: 1.247 MB / 1.067 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.3887, allocations: 437 kB / 1.067 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000766/0.3894, allocations: 250.4 kB / 1.068 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.825e-05/0.3895, allocations: 11.98 kB / 1.068 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/0.3895, allocations: 38.56 kB / 1.068 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=41): time 1.744e-06/0.3896, allocations: 0 / 1.068 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of matching and sorting (n=41): time 0.002006/0.3916, allocations: 0.6545 MB / 1.068 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002065/0.3918, allocations: 114.7 kB / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004266/0.3922, allocations: 274.8 kB / 1.069 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/0.3923, allocations: 29.7 kB / 1.069 GB, free: 11 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.3925, allocations: 220.2 kB / 1.069 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.3926, allocations: 118.3 kB / 1.069 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-05/0.3927, allocations: 61.67 kB / 1.069 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.3928, allocations: 350.8 kB / 1.069 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005605/0.3934, allocations: 188.7 kB / 1.07 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006265/0.394, allocations: 277.5 kB / 1.07 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.3952, allocations: 438.4 kB / 1.07 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.3952, allocations: 4 kB / 1.07 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001372/0.3966, allocations: 0.5181 MB / 1.071 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.3966, allocations: 9.656 kB / 1.071 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.3966, allocations: 4 kB / 1.071 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.3967, allocations: 4 kB / 1.071 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005131/0.3972, allocations: 115.8 kB / 1.071 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/0.3972, allocations: 12 kB / 1.071 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003372/0.3976, allocations: 71.64 kB / 1.071 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.214e-05/0.3976, allocations: 19.92 kB / 1.071 GB, free: 8.539 MB / 0.8262 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.0002762/0.3979, allocations: 175.2 kB / 1.071 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.398, allocations: 31.62 kB / 1.071 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.3981, allocations: 46.2 kB / 1.071 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.3981, allocations: 7.938 kB / 1.071 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.3981, allocations: 0 / 1.071 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/0.3982, allocations: 7.984 kB / 1.071 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007886/0.399, allocations: 453 kB / 1.072 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.399, allocations: 7.938 kB / 1.072 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004233/0.3994, allocations: 95.86 kB / 1.072 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.3994, allocations: 0 / 1.072 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.133e-05/0.3995, allocations: 8 kB / 1.072 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/0.3995, allocations: 11.94 kB / 1.072 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.3995, allocations: 3.984 kB / 1.072 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001525/0.401, allocations: 0.708 MB / 1.072 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.4011, allocations: 108.6 kB / 1.073 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.323e-05/0.4012, allocations: 12 kB / 1.073 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003781/0.4016, allocations: 51.89 kB / 1.073 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/0.4018, allocations: 63.91 kB / 1.073 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/0.4018, allocations: 12 kB / 1.073 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001889/0.402, allocations: 182 kB / 1.073 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.402, allocations: 0 / 1.073 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004526/0.4024, allocations: 83.59 kB / 1.073 GB, free: 6.402 MB / 0.8262 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.000184/0.4026, allocations: 123.9 kB / 1.073 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00129/0.4039, allocations: 469.3 kB / 1.074 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4039, allocations: 0 / 1.074 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000701/0.4047, allocations: 267.7 kB / 1.074 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000588/0.4053, allocations: 52.84 kB / 1.074 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.4067, allocations: 0.8462 MB / 1.075 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004595/0.4072, allocations: 0.8196 MB / 1.075 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002631/0.4075, allocations: 59.27 kB / 1.075 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.4076, allocations: 35.42 kB / 1.076 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of SimCode: time 3.71e-07/0.4076, allocations: 0 / 1.076 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of Templates: time 0.008092/0.4157, allocations: 3.394 MB / 1.079 GB, free: 368 kB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe 2>&1) 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) Reference file matches