Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007311/0.007311, allocations: 99.05 kB / 15.73 MB, free: 6.047 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.002154/0.002154, allocations: 197.7 kB / 16.68 MB, free: 5.969 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.224/1.224, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.464/2.464, allocations: 482.6 MB / 0.755 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 67.89 kB / 1.083 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2453, allocations: 162.3 MB / 1.242 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides): time 0.002609/0.2479, allocations: 1.752 MB / 1.244 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.2491, allocations: 1.162 MB / 1.245 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.657e-05/0.2492, allocations: 4 kB / 1.245 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 9.401e-05/0.2493, allocations: 51.28 kB / 1.245 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001464/0.2495, allocations: 55.34 kB / 1.245 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.2498, allocations: 187.8 kB / 1.245 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004034/0.2502, allocations: 0.5009 MB / 1.246 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003532/0.2506, allocations: 280.7 kB / 1.246 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.2508, allocations: 203.2 kB / 1.246 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.251, allocations: 242.8 kB / 1.246 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.122e-05/0.251, allocations: 60 kB / 1.246 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.035e-05/0.2511, allocations: 56 kB / 1.246 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.259e-05/0.2512, allocations: 127.6 kB / 1.246 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00017/0.2514, allocations: 242.6 kB / 1.247 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005475/0.2519, allocations: 0.6884 MB / 1.247 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.2519, allocations: 0 / 1.247 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2519, allocations: 7.938 kB / 1.247 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.252, allocations: 0 / 1.247 GB, free: 4.152 MB / 0.9981 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.001141/0.2531, allocations: 0.7752 MB / 1.248 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 2.88e-05/0.2531, allocations: 12.03 kB / 1.248 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.675e-05/0.2532, allocations: 86.72 kB / 1.248 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.283e-05/0.2533, allocations: 64.55 kB / 1.248 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.2543, allocations: 488.1 kB / 1.249 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.811e-05/0.2544, allocations: 37.38 kB / 1.249 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.766e-05/0.2544, allocations: 44.38 kB / 1.249 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009461/0.2554, allocations: 0.5025 MB / 1.249 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.2554, allocations: 3.938 kB / 1.249 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.2554, allocations: 20 kB / 1.249 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.2555, allocations: 12 kB / 1.249 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.2566, allocations: 426.4 kB / 1.25 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.258, allocations: 1.244 MB / 1.251 GB, free: 296 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4362/0.6942, allocations: 406.6 kB / 1.251 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005835/0.6948, allocations: 220.3 kB / 1.252 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.226e-05/0.6949, allocations: 10.5 kB / 1.252 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.6949, allocations: 41.03 kB / 1.252 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=41): time 2.404e-06/0.6949, allocations: 1.031 kB / 1.252 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of matching and sorting (n=41): time 0.001648/0.6966, allocations: 0.5729 MB / 1.252 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.6966, allocations: 109.1 kB / 1.252 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/0.6969, allocations: 284.9 kB / 1.253 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.6969, allocations: 34.44 kB / 1.253 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.218e-05/0.697, allocations: 226.2 kB / 1.253 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.525e-05/0.6971, allocations: 123.2 kB / 1.253 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.6972, allocations: 99.47 kB / 1.253 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.637e-05/0.6973, allocations: 342.1 kB / 1.253 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004995/0.6978, allocations: 166.1 kB / 1.253 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005133/0.6983, allocations: 257.1 kB / 1.254 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009427/0.6992, allocations: 394.4 kB / 1.254 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.6992, allocations: 0.9375 kB / 1.254 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001126/0.7004, allocations: 479.8 kB / 1.255 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.7004, allocations: 5.906 kB / 1.255 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.7004, allocations: 4.375 kB / 1.255 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.7004, allocations: 5.578 kB / 1.255 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004238/0.7009, allocations: 98.91 kB / 1.255 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.7009, allocations: 4.328 kB / 1.255 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002814/0.7012, allocations: 63.5 kB / 1.255 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.852e-05/0.7012, allocations: 20.77 kB / 1.255 GB, free: 13.32 MB / 0.9981 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.0001738/0.7014, allocations: 176 kB / 1.255 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.952e-05/0.7015, allocations: 36.83 kB / 1.255 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.979e-05/0.7015, allocations: 40.5 kB / 1.255 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.7016, allocations: 9.062 kB / 1.255 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.7016, allocations: 0.8125 kB / 1.255 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.7016, allocations: 3.297 kB / 1.255 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004957/0.7021, allocations: 461.7 kB / 1.255 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.7021, allocations: 2.297 kB / 1.255 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003635/0.7025, allocations: 83.95 kB / 1.256 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.7025, allocations: 2.281 kB / 1.256 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.7025, allocations: 10.19 kB / 1.256 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.7025, allocations: 2.312 kB / 1.256 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.7025, allocations: 3.312 kB / 1.256 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.7036, allocations: 0.6665 MB / 1.256 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.854e-05/0.7036, allocations: 112 kB / 1.256 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.563e-05/0.7037, allocations: 7.5 kB / 1.256 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003204/0.704, allocations: 44.67 kB / 1.256 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.7041, allocations: 59.27 kB / 1.256 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.7042, allocations: 19.08 kB / 1.256 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001209/0.7043, allocations: 174 kB / 1.257 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7043, allocations: 0 / 1.257 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003891/0.7047, allocations: 92.61 kB / 1.257 GB, free: 12.12 MB / 0.9981 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.001251/0.7059, allocations: 1.227 MB / 1.258 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001093/0.707, allocations: 422.5 kB / 1.258 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.7071, allocations: 0.5 kB / 1.258 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005764/0.7076, allocations: 241.4 kB / 1.259 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004765/0.7081, allocations: 50.12 kB / 1.259 GB, free: 11 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004432/0.7126, allocations: 3.489 MB / 1.262 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002054/0.7128, allocations: 0.8113 MB / 1.263 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002043/0.713, allocations: 65.17 kB / 1.263 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001812/0.7132, allocations: 157.5 kB / 1.263 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of SimCode: time 2e-07/0.7132, allocations: 1.031 kB / 1.263 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.452/2.165, allocations: 7.008 MB / 1.27 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.401/11.57, allocations: 9.75 kB / 1.27 GB, free: 7.305 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Overrides.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches