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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.001325/0.001325, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001414/0.001414, allocations: 198.1 kB / 16.14 MB, free: 6.645 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.173/1.173, allocations: 222.9 MB / 239.8 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.347/2.347, allocations: 461.8 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 73.23 kB / 0.8986 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2228, allocations: 157.4 MB / 1.052 GB, free: 8.18 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Overrides): time 0.00261/0.2254, allocations: 1.797 MB / 1.054 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.2265, allocations: 1.143 MB / 1.055 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.2266, allocations: 8 kB / 1.055 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.121e-05/0.2267, allocations: 39.52 kB / 1.055 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.2269, allocations: 27.72 kB / 1.055 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002657/0.2271, allocations: 167.8 kB / 1.055 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003293/0.2275, allocations: 465 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003304/0.2278, allocations: 276.7 kB / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.228, allocations: 175.2 kB / 1.056 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.2282, allocations: 218.9 kB / 1.056 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.143e-05/0.2282, allocations: 32 kB / 1.056 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.859e-05/0.2283, allocations: 36 kB / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.376e-05/0.2283, allocations: 91.59 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.2285, allocations: 218.7 kB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000419/0.2289, allocations: 0.6386 MB / 1.057 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2289, allocations: 4 kB / 1.057 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.82e-07/0.2289, allocations: 0 / 1.057 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.2289, allocations: 0 / 1.057 GB, free: 2.855 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.001119/0.2301, allocations: 0.7602 MB / 1.058 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.2301, allocations: 15.95 kB / 1.058 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.967e-05/0.2302, allocations: 86.72 kB / 1.058 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.223e-05/0.2303, allocations: 52.28 kB / 1.058 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.2313, allocations: 491.9 kB / 1.059 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/0.2313, allocations: 37.38 kB / 1.059 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.871e-05/0.2314, allocations: 44.38 kB / 1.059 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009135/0.2323, allocations: 0.4986 MB / 1.059 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.2323, allocations: 3.938 kB / 1.059 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.87e-05/0.2324, allocations: 27.98 kB / 1.059 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.2324, allocations: 12 kB / 1.059 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.2335, allocations: 425.9 kB / 1.06 GB, free: 312 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.2349, allocations: 1.263 MB / 1.061 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008431/0.2357, allocations: 407.8 kB / 1.061 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005217/0.2363, allocations: 222.4 kB / 1.062 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.11e-05/0.2363, allocations: 7.984 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.2364, allocations: 42.5 kB / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=41): time 1.412e-06/0.2364, allocations: 0 / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=41): time 0.001592/0.238, allocations: 0.5765 MB / 1.062 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.238, allocations: 106.8 kB / 1.062 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.2382, allocations: 282.7 kB / 1.063 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.2383, allocations: 29.7 kB / 1.063 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.2384, allocations: 224.2 kB / 1.063 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.4e-05/0.2385, allocations: 122.2 kB / 1.063 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.2386, allocations: 102.1 kB / 1.063 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.692e-05/0.2387, allocations: 338.8 kB / 1.063 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004796/0.2392, allocations: 164.7 kB / 1.064 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005141/0.2397, allocations: 249.6 kB / 1.064 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009217/0.2406, allocations: 396.7 kB / 1.064 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2406, allocations: 0 / 1.064 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001075/0.2417, allocations: 472.7 kB / 1.065 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.2417, allocations: 4 kB / 1.065 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.2417, allocations: 4 kB / 1.065 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.2418, allocations: 7.938 kB / 1.065 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004354/0.2422, allocations: 100 kB / 1.065 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.2422, allocations: 4 kB / 1.065 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002808/0.2425, allocations: 63.55 kB / 1.065 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.2425, allocations: 19.98 kB / 1.065 GB, free: 10.93 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.000185/0.2427, allocations: 181.7 kB / 1.065 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.751e-05/0.2428, allocations: 31.62 kB / 1.065 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.655e-05/0.2429, allocations: 42.2 kB / 1.065 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.2429, allocations: 7.938 kB / 1.065 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.2429, allocations: 0 / 1.065 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.2429, allocations: 11.86 kB / 1.065 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005097/0.2434, allocations: 461.1 kB / 1.066 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.2435, allocations: 0 / 1.066 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003842/0.2438, allocations: 83.86 kB / 1.066 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.2439, allocations: 0 / 1.066 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/0.2439, allocations: 15.98 kB / 1.066 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.2439, allocations: 7.938 kB / 1.066 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2439, allocations: 0 / 1.066 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.245, allocations: 0.6611 MB / 1.066 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-05/0.2451, allocations: 116.6 kB / 1.066 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.764e-05/0.2451, allocations: 4 kB / 1.066 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003352/0.2454, allocations: 43.88 kB / 1.066 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.2456, allocations: 67.86 kB / 1.066 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.2456, allocations: 8 kB / 1.066 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001241/0.2457, allocations: 178 kB / 1.067 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2457, allocations: 4 kB / 1.067 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003899/0.2461, allocations: 91.59 kB / 1.067 GB, free: 8.844 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.001347/0.2475, allocations: 1.227 MB / 1.068 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00104/0.2485, allocations: 415.7 kB / 1.068 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2486, allocations: 0 / 1.068 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000561/0.2491, allocations: 245.5 kB / 1.069 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004884/0.2496, allocations: 48.81 kB / 1.069 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00477/0.2544, allocations: 3.635 MB / 1.072 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.2547, allocations: 0.8079 MB / 1.073 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002444/0.2549, allocations: 59.27 kB / 1.073 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002067/0.2552, allocations: 151.4 kB / 1.073 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.2552, allocations: 0 / 1.073 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05093/0.3061, allocations: 6.304 MB / 1.079 GB, free: 12 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002378/0.3064, allocations: 273.6 kB / 1.08 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.584/1.891, allocations: 2.062 kB / 1.08 GB, free: 11.64 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