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.001021/0.001021, allocations: 105 kB / 15.98 MB, free: 6.77 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.001135/0.001136, allocations: 194.2 kB / 16.91 MB, free: 6.551 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.37/1.37, allocations: 222.9 MB / 240.6 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.888/2.888, allocations: 469.4 MB / 0.7423 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 73.73 kB / 0.9084 GB, free: 34.72 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3492, allocations: 159.1 MB / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides): time 0.003582/0.3528, allocations: 1.785 MB / 1.066 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001775/0.3546, allocations: 1.147 MB / 1.067 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003284/0.355, allocations: 8 kB / 1.067 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001823/0.3552, allocations: 35.58 kB / 1.067 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002689/0.3555, allocations: 27.72 kB / 1.067 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004355/0.3559, allocations: 159.9 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000583/0.3565, allocations: 0.4931 MB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005209/0.357, allocations: 288.7 kB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000285/0.3573, allocations: 199.2 kB / 1.068 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002849/0.3576, allocations: 238.9 kB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001268/0.3578, allocations: 60 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.448e-05/0.3579, allocations: 56 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.358, allocations: 135.6 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.00022/0.3582, allocations: 234.7 kB / 1.069 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005811/0.3588, allocations: 0.5302 MB / 1.069 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.3588, allocations: 0 / 1.069 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3588, allocations: 0 / 1.069 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.193e-05/0.3589, allocations: 4 kB / 1.069 GB, free: 9.457 MB / 0.8262 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.001583/0.3604, allocations: 0.7524 MB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.3605, allocations: 12.02 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.3606, allocations: 60.28 kB / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.3618, allocations: 483.9 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.156e-05/0.3619, allocations: 45.31 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.45e-05/0.362, allocations: 44.38 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.3632, allocations: 0.5063 MB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.3632, allocations: 192 / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.84e-05/0.3633, allocations: 23.94 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.3633, allocations: 12 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.3645, allocations: 425.9 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001935/0.3665, allocations: 1.259 MB / 1.073 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009468/0.3674, allocations: 403.8 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005806/0.368, allocations: 226.5 kB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.697e-05/0.3681, allocations: 8 kB / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.3681, allocations: 42.55 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=41): time 1.733e-06/0.3681, allocations: 3.938 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of matching and sorting (n=41): time 0.001903/0.37, allocations: 0.5691 MB / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.745e-05/0.3701, allocations: 114.8 kB / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003798/0.3705, allocations: 278.7 kB / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.483e-05/0.3706, allocations: 33.7 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/0.3708, allocations: 220.2 kB / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.3709, allocations: 114.3 kB / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001868/0.3711, allocations: 98.11 kB / 1.075 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.3713, allocations: 342.8 kB / 1.075 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005507/0.3718, allocations: 164.7 kB / 1.075 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006025/0.3724, allocations: 253.6 kB / 1.075 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.3736, allocations: 395.3 kB / 1.076 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.3736, allocations: 4 kB / 1.076 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001346/0.3749, allocations: 466.4 kB / 1.076 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.375, allocations: 9.719 kB / 1.076 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.375, allocations: 4 kB / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/0.375, allocations: 4 kB / 1.076 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004853/0.3755, allocations: 103.8 kB / 1.076 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.82e-05/0.3756, allocations: 8.188 kB / 1.076 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003445/0.3759, allocations: 71.53 kB / 1.076 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-05/0.376, allocations: 16 kB / 1.076 GB, free: 1.633 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.0003192/0.3763, allocations: 177.7 kB / 1.077 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.3764, allocations: 27.62 kB / 1.077 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.316e-05/0.3765, allocations: 42.2 kB / 1.077 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.3765, allocations: 7.938 kB / 1.077 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.3765, allocations: 4 kB / 1.077 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.3766, allocations: 7.922 kB / 1.077 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006471/0.3772, allocations: 457 kB / 1.077 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.3772, allocations: 4 kB / 1.077 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000395/0.3776, allocations: 83.86 kB / 1.077 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-05/0.3777, allocations: 4 kB / 1.077 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.064e-05/0.3777, allocations: 11.98 kB / 1.077 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.3777, allocations: 3.938 kB / 1.077 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.3777, allocations: 11.92 kB / 1.077 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.3789, allocations: 0.6458 MB / 1.078 GB, free: 84 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.767e-05/0.379, allocations: 112.6 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.65e-05/0.3791, allocations: 15.98 kB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003476/0.3794, allocations: 39.89 kB / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/0.3796, allocations: 59.88 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/0.3796, allocations: 15.98 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001677/0.3798, allocations: 178 kB / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3798, allocations: 0 / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004648/0.3803, allocations: 87.59 kB / 1.078 GB, free: 15.57 MB / 0.8419 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.0001754/0.3805, allocations: 132.9 kB / 1.078 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001252/0.3817, allocations: 431.6 kB / 1.079 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3818, allocations: 0 / 1.079 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006021/0.3824, allocations: 231 kB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005727/0.3829, allocations: 50.98 kB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.3843, allocations: 0.8857 MB / 1.08 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/0.3848, allocations: 0.8115 MB / 1.081 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.3849, allocations: 47.42 kB / 1.081 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of SimCode: time 3.61e-07/0.3849, allocations: 0 / 1.081 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of Templates: time 0.009193/0.3941, allocations: 4.843 MB / 1.085 GB, free: 8.098 MB / 0.8419 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/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) Reference file matches