Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001775/0.001776, allocations: 105 kB / 16.41 MB, free: 6.465 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.002165/0.002165, allocations: 187 kB / 17.34 MB, free: 5.719 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.506/2.506, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 63.91 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8808/0.8824, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides): time 0.003146/0.8856, allocations: 1.751 MB / 1.169 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001714/0.8873, allocations: 1.166 MB / 1.17 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002715/0.8876, allocations: 8 kB / 1.17 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000155/0.8878, allocations: 55.28 kB / 1.17 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002805/0.8881, allocations: 55.34 kB / 1.17 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004057/0.8885, allocations: 187.7 kB / 1.17 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0005846/0.8891, allocations: 0.4886 MB / 1.171 GB, free: 100 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004623/0.8896, allocations: 276.6 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002823/0.8899, allocations: 203.2 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002724/0.8901, allocations: 242.9 kB / 1.172 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.744e-05/0.8902, allocations: 56 kB / 1.172 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 6.998e-05/0.8903, allocations: 56 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.8904, allocations: 123.6 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002/0.8906, allocations: 234.7 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006367/0.8913, allocations: 0.6836 MB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.8913, allocations: 4 kB / 1.173 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8913, allocations: 0 / 1.173 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.213e-05/0.8913, allocations: 0 / 1.173 GB, free: 14.24 MB / 0.9044 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.001397/0.8927, allocations: 0.7601 MB / 1.174 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.8928, allocations: 8.922 kB / 1.174 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.581e-05/0.8929, allocations: 56.38 kB / 1.174 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.894, allocations: 483.9 kB / 1.174 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.931e-05/0.8941, allocations: 37.38 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.684e-05/0.8941, allocations: 48.38 kB / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009732/0.8951, allocations: 0.4944 MB / 1.175 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.8951, allocations: 4.188 kB / 1.175 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.173e-05/0.8952, allocations: 19.94 kB / 1.175 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.8952, allocations: 8 kB / 1.175 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.8964, allocations: 425.4 kB / 1.175 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001651/0.898, allocations: 1.219 MB / 1.176 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009003/0.8989, allocations: 407.6 kB / 1.177 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005597/0.8995, allocations: 222.5 kB / 1.177 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.256e-05/0.8996, allocations: 8 kB / 1.177 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.8996, allocations: 38.55 kB / 1.177 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=40): time 1.954e-06/0.8996, allocations: 0 / 1.177 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of matching and sorting (n=40): time 0.001785/0.9014, allocations: 0.5701 MB / 1.177 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.889e-05/0.9015, allocations: 110.8 kB / 1.178 GB, free: 9.121 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.9017, allocations: 278.7 kB / 1.178 GB, free: 8.844 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.9018, allocations: 33.7 kB / 1.178 GB, free: 8.805 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.9019, allocations: 224.2 kB / 1.178 GB, free: 8.582 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.89e-05/0.902, allocations: 114.4 kB / 1.178 GB, free: 8.469 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.9022, allocations: 101.9 kB / 1.178 GB, free: 8.363 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.9023, allocations: 338.8 kB / 1.179 GB, free: 8.023 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005237/0.9028, allocations: 168.7 kB / 1.179 GB, free: 7.855 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005711/0.9034, allocations: 249.8 kB / 1.179 GB, free: 7.582 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.9044, allocations: 385 kB / 1.179 GB, free: 7.172 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.9045, allocations: 0 / 1.179 GB, free: 7.172 MB / 0.9044 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001222/0.9057, allocations: 463 kB / 1.18 GB, free: 6.715 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.9057, allocations: 8 kB / 1.18 GB, free: 6.707 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.9057, allocations: 4 kB / 1.18 GB, free: 6.703 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.9058, allocations: 8.188 kB / 1.18 GB, free: 6.695 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004623/0.9062, allocations: 95.86 kB / 1.18 GB, free: 6.602 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.671e-05/0.9063, allocations: 15.92 kB / 1.18 GB, free: 6.586 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/0.9066, allocations: 55.64 kB / 1.18 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.9066, allocations: 19.94 kB / 1.18 GB, free: 6.512 MB / 0.9044 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.0002552/0.9068, allocations: 173.7 kB / 1.18 GB, free: 6.332 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.606e-05/0.9069, allocations: 31.62 kB / 1.18 GB, free: 6.301 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.778e-05/0.907, allocations: 42.2 kB / 1.18 GB, free: 6.258 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.9071, allocations: 4 kB / 1.18 GB, free: 6.254 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.9071, allocations: 7.922 kB / 1.18 GB, free: 6.246 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.9071, allocations: 0 / 1.18 GB, free: 6.246 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006259/0.9077, allocations: 457 kB / 1.181 GB, free: 5.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.9077, allocations: 8 kB / 1.181 GB, free: 5.742 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004003/0.9081, allocations: 83.86 kB / 1.181 GB, free: 5.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/0.9081, allocations: 0 / 1.181 GB, free: 5.66 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/0.9082, allocations: 11.98 kB / 1.181 GB, free: 5.648 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.9082, allocations: 0 / 1.181 GB, free: 5.648 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.9082, allocations: 7.938 kB / 1.181 GB, free: 5.641 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.9094, allocations: 0.6613 MB / 1.181 GB, free: 4.961 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.007e-05/0.9095, allocations: 112.6 kB / 1.182 GB, free: 4.832 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.05e-05/0.9095, allocations: 12 kB / 1.182 GB, free: 4.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003492/0.9099, allocations: 39.94 kB / 1.182 GB, free: 4.781 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.9101, allocations: 63.88 kB / 1.182 GB, free: 4.719 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.498e-05/0.9101, allocations: 16 kB / 1.182 GB, free: 4.703 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002249/0.9103, allocations: 174 kB / 1.182 GB, free: 4.531 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9103, allocations: 0 / 1.182 GB, free: 4.531 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0006497/0.911, allocations: 87.69 kB / 1.182 GB, free: 4.445 MB / 0.9044 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.0001684/0.9112, allocations: 119.2 kB / 1.182 GB, free: 4.32 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001198/0.9124, allocations: 420 kB / 1.182 GB, free: 3.91 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.9124, allocations: 0 / 1.182 GB, free: 3.91 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0005998/0.913, allocations: 222.1 kB / 1.183 GB, free: 3.695 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005382/0.9136, allocations: 48.48 kB / 1.183 GB, free: 3.648 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.9147, allocations: 0.7095 MB / 1.183 GB, free: 2.898 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.9151, allocations: 0.8193 MB / 1.184 GB, free: 2.051 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.9152, allocations: 43.42 kB / 1.184 GB, free: 2.008 MB / 0.9044 GB Notification: Performance of SimCode: time 4.51e-07/0.9153, allocations: 0 / 1.184 GB, free: 2.008 MB / 0.9044 GB Notification: Performance of Templates: time 0.006702/0.922, allocations: 4.76 MB / 1.189 GB, free: 13.27 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches