Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.Overrides") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.Overrides") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.001571/0.001571, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.325/2.325, allocations: 390.3 MB / 0.6653 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.0003391, allocations: 11.98 kB / 0.8146 GB, free: 14.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6171/0.6174, allocations: 142.3 MB / 0.9536 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides): time 0.001519/0.619, allocations: 1.315 MB / 0.9548 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.6201, allocations: 1.124 MB / 0.9559 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.6203, allocations: 7.031 kB / 0.956 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.882e-05/0.6203, allocations: 31.64 kB / 0.956 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001463/0.6205, allocations: 47.17 kB / 0.956 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.6207, allocations: 118.1 kB / 0.9561 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002431/0.621, allocations: 274.5 kB / 0.9564 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002978/0.6213, allocations: 214.1 kB / 0.9566 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.6214, allocations: 124 kB / 0.9567 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.6216, allocations: 164.3 kB / 0.9569 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.272e-05/0.6216, allocations: 15.22 kB / 0.9569 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.583e-05/0.6217, allocations: 14.22 kB / 0.9569 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.942e-05/0.6217, allocations: 69.61 kB / 0.957 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.23e-05/0.6218, allocations: 89.3 kB / 0.9571 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003206/0.6221, allocations: 0.5131 MB / 0.9576 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.6221, allocations: 0 / 0.9576 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6221, allocations: 3.938 kB / 0.9576 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.6221, allocations: 1.188 kB / 0.9576 GB, free: 4.941 MB / 0.7169 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.001024/0.6232, allocations: 0.6961 MB / 0.9582 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.6232, allocations: 20.89 kB / 0.9583 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.277e-05/0.6233, allocations: 57.2 kB / 0.9583 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.6244, allocations: 0.5129 MB / 0.9588 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.49e-05/0.6244, allocations: 41.62 kB / 0.9589 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.606e-05/0.6245, allocations: 44.88 kB / 0.9589 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.6255, allocations: 0.5114 MB / 0.9594 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.6256, allocations: 1.031 kB / 0.9594 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.752e-05/0.6256, allocations: 15.28 kB / 0.9594 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.6256, allocations: 12.5 kB / 0.9594 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.627, allocations: 481.5 kB / 0.9599 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/0.6285, allocations: 1.224 MB / 0.9611 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009039/0.6295, allocations: 426.6 kB / 0.9615 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.6295, allocations: 8.641 kB / 0.9615 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.6295, allocations: 37.34 kB / 0.9615 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=40): time 2.876e-06/0.6295, allocations: 0 / 0.9615 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of matching and sorting (n=40): time 0.001874/0.6314, allocations: 0.6431 MB / 0.9622 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.6315, allocations: 111.1 kB / 0.9623 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000245/0.6317, allocations: 280.3 kB / 0.9625 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.6317, allocations: 30.86 kB / 0.9626 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.578e-05/0.6319, allocations: 223.8 kB / 0.9628 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.517e-05/0.6319, allocations: 109.1 kB / 0.9629 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.871e-05/0.6319, allocations: 5.281 kB / 0.9629 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.935e-05/0.632, allocations: 346.7 kB / 0.9632 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005378/0.6326, allocations: 183.9 kB / 0.9634 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005755/0.6331, allocations: 271.4 kB / 0.9637 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005317/0.6337, allocations: 185.6 kB / 0.9638 GB, free: 436 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.6337, allocations: 1 kB / 0.9638 GB, free: 436 kB / 0.7169 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0012/0.6349, allocations: 0.5045 MB / 0.9643 GB, free: 192 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.6349, allocations: 5.281 kB / 0.9643 GB, free: 192 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.6349, allocations: 2.656 kB / 0.9643 GB, free: 192 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.635, allocations: 5.781 kB / 0.9643 GB, free: 192 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004796/0.6354, allocations: 109.8 kB / 0.9644 GB, free: 160 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.6355, allocations: 12.61 kB / 0.9645 GB, free: 152 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003209/0.6358, allocations: 75.73 kB / 0.9645 GB, free: 112 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.6358, allocations: 11.16 kB / 0.9645 GB, free: 112 kB / 0.7169 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 (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,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002197/0.6361, allocations: 175.3 kB / 0.9647 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.537e-05/0.6362, allocations: 38.64 kB / 0.9647 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.421e-05/0.6362, allocations: 41.73 kB / 0.9648 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.6363, allocations: 4.219 kB / 0.9648 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/0.6363, allocations: 5.328 kB / 0.9648 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.6363, allocations: 1.344 kB / 0.9648 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006243/0.6369, allocations: 452.3 kB / 0.9652 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.6369, allocations: 1.156 kB / 0.9652 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004198/0.6373, allocations: 94.73 kB / 0.9653 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.6374, allocations: 2.094 kB / 0.9653 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.6374, allocations: 18.62 kB / 0.9653 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.6374, allocations: 1.656 kB / 0.9653 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.6374, allocations: 0.9688 kB / 0.9653 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.6387, allocations: 0.7393 MB / 0.9661 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.956e-05/0.6388, allocations: 118.1 kB / 0.9662 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.157e-05/0.6388, allocations: 6.969 kB / 0.9662 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003675/0.6392, allocations: 50.64 kB / 0.9662 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.6394, allocations: 65.41 kB / 0.9663 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.629e-05/0.6394, allocations: 16.03 kB / 0.9663 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001531/0.6396, allocations: 174.7 kB / 0.9665 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6396, allocations: 0 / 0.9665 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004581/0.64, allocations: 85.53 kB / 0.9666 GB, free: 14.6 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001493/0.6402, allocations: 117.9 kB / 0.9667 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001297/0.6415, allocations: 463.4 kB / 0.9671 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.6415, allocations: 0 / 0.9671 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000682/0.6422, allocations: 260.6 kB / 0.9674 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.6426, allocations: 51.62 kB / 0.9674 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.6439, allocations: 0.8034 MB / 0.9682 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.6442, allocations: 0.8254 MB / 0.969 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002553/0.6445, allocations: 51.33 kB / 0.969 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.6446, allocations: 31.88 kB / 0.9691 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/0.6446, allocations: 0 / 0.9691 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of Templates: time 0.007407/0.652, allocations: 3.222 MB / 0.9722 GB, free: 11.23 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Overrides.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches