Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_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.001207/0.001206, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001142/0.001142, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.162/1.162, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.341/2.341, allocations: 461.9 MB / 0.7343 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 70.55 kB / 0.8988 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2039, allocations: 157.4 MB / 1.052 GB, free: 8.594 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides): time 0.002491/0.2064, allocations: 1.797 MB / 1.054 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.2075, allocations: 1.139 MB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.2077, allocations: 8 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.663e-05/0.2078, allocations: 31.64 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001513/0.208, allocations: 39.66 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002808/0.2083, allocations: 159.9 kB / 1.056 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003465/0.2086, allocations: 0.4893 MB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00033/0.209, allocations: 288.7 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001736/0.2091, allocations: 203.2 kB / 1.057 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.2093, allocations: 242.9 kB / 1.057 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.375e-05/0.2094, allocations: 56 kB / 1.057 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.186e-05/0.2094, allocations: 63.94 kB / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.298e-05/0.2095, allocations: 119.7 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000144/0.2097, allocations: 246.6 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004412/0.2101, allocations: 0.6659 MB / 1.058 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2101, allocations: 0 / 1.058 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2101, allocations: 0 / 1.058 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.415e-06/0.2101, allocations: 0 / 1.058 GB, free: 3.055 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.001091/0.2112, allocations: 0.7642 MB / 1.059 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.2113, allocations: 8.625 kB / 1.059 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.647e-05/0.2114, allocations: 86.7 kB / 1.059 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.221e-05/0.2114, allocations: 56.27 kB / 1.059 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009488/0.2124, allocations: 491.9 kB / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.237e-05/0.2124, allocations: 37.38 kB / 1.059 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.584e-05/0.2125, allocations: 48.38 kB / 1.059 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008744/0.2134, allocations: 0.4947 MB / 1.06 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.2134, allocations: 3.938 kB / 1.06 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.792e-05/0.2134, allocations: 24 kB / 1.06 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.2135, allocations: 12 kB / 1.06 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.2145, allocations: 429.9 kB / 1.06 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.2158, allocations: 1.255 MB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007694/0.2166, allocations: 413.2 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004835/0.2171, allocations: 226.4 kB / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.077e-05/0.2171, allocations: 19.92 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.2172, allocations: 34.56 kB / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=41): time 1.382e-06/0.2172, allocations: 0 / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of matching and sorting (n=41): time 0.001476/0.2187, allocations: 0.5725 MB / 1.063 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.2187, allocations: 114.8 kB / 1.063 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/0.2189, allocations: 282.7 kB / 1.063 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.219, allocations: 33.7 kB / 1.063 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.2191, allocations: 220.2 kB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.396e-05/0.2191, allocations: 114.4 kB / 1.063 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.2193, allocations: 94.11 kB / 1.063 GB, free: 13 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.805e-05/0.2193, allocations: 346.8 kB / 1.064 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004358/0.2198, allocations: 160.7 kB / 1.064 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004802/0.2203, allocations: 249.6 kB / 1.064 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008738/0.2212, allocations: 395.9 kB / 1.065 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2212, allocations: 0 / 1.065 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001026/0.2222, allocations: 472.7 kB / 1.065 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.2222, allocations: 8 kB / 1.065 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2222, allocations: 0 / 1.065 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.2222, allocations: 7.938 kB / 1.065 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004132/0.2227, allocations: 99.8 kB / 1.065 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.2227, allocations: 4.25 kB / 1.065 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002698/0.223, allocations: 75.53 kB / 1.065 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.442e-05/0.223, allocations: 12 kB / 1.065 GB, free: 11.13 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.0001537/0.2231, allocations: 173.7 kB / 1.065 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.861e-05/0.2232, allocations: 35.62 kB / 1.065 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.969e-05/0.2233, allocations: 42.2 kB / 1.065 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.2233, allocations: 7.938 kB / 1.065 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2233, allocations: 7.922 kB / 1.065 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.2233, allocations: 7.984 kB / 1.065 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000476/0.2238, allocations: 453.2 kB / 1.066 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2238, allocations: 0 / 1.066 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003657/0.2242, allocations: 83.86 kB / 1.066 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.2242, allocations: 8 kB / 1.066 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/0.2242, allocations: 11.98 kB / 1.066 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.2242, allocations: 7.938 kB / 1.066 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2242, allocations: 0 / 1.066 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.2253, allocations: 0.661 MB / 1.067 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.831e-05/0.2253, allocations: 108.6 kB / 1.067 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.099e-05/0.2254, allocations: 15.98 kB / 1.067 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003167/0.2257, allocations: 43.89 kB / 1.067 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.2258, allocations: 55.94 kB / 1.067 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.2259, allocations: 15.98 kB / 1.067 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001141/0.226, allocations: 177.9 kB / 1.067 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.226, allocations: 0 / 1.067 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003755/0.2264, allocations: 91.59 kB / 1.067 GB, free: 9.051 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.001246/0.2276, allocations: 1.224 MB / 1.068 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001016/0.2286, allocations: 439.7 kB / 1.069 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2286, allocations: 0 / 1.069 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005263/0.2292, allocations: 235.7 kB / 1.069 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004685/0.2297, allocations: 48.88 kB / 1.069 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004509/0.2342, allocations: 3.644 MB / 1.073 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.2345, allocations: 0.8154 MB / 1.073 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002373/0.2347, allocations: 63.2 kB / 1.073 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.2349, allocations: 159.4 kB / 1.074 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of SimCode: time 2.01e-07/0.2349, allocations: 0 / 1.074 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.856/4.091, allocations: 6.5 MB / 1.08 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003715/4.091, allocations: 276.3 kB / 1.08 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.743/5.835, allocations: 1.875 kB / 1.08 GB, free: 11.62 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Overrides.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches