Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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.DualDuctSnapActing.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_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.00482/0.00482, allocations: 101.2 kB / 15.73 MB, free: 6.059 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.001203/0.001204, allocations: 197.3 kB / 16.67 MB, free: 5.984 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.168/1.168, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.378/2.378, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 67.91 kB / 1.054 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2307, allocations: 157.4 MB / 1.207 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides): time 0.002685/0.2334, allocations: 1.751 MB / 1.209 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.2346, allocations: 1.159 MB / 1.21 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.2348, allocations: 8 kB / 1.21 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.95e-05/0.2349, allocations: 55.27 kB / 1.21 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001572/0.235, allocations: 55.34 kB / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.2353, allocations: 183.8 kB / 1.21 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003863/0.2357, allocations: 0.497 MB / 1.211 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003541/0.2361, allocations: 284.7 kB / 1.211 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001736/0.2363, allocations: 199.3 kB / 1.211 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.2365, allocations: 246.8 kB / 1.212 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.892e-05/0.2366, allocations: 56 kB / 1.212 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 5.364e-05/0.2366, allocations: 64 kB / 1.212 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.026e-05/0.2367, allocations: 127.6 kB / 1.212 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.2369, allocations: 242.7 kB / 1.212 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004976/0.2374, allocations: 0.6929 MB / 1.213 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2374, allocations: 0 / 1.213 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2374, allocations: 0 / 1.213 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.2374, allocations: 0 / 1.213 GB, free: 4.516 MB / 0.9669 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.001202/0.2386, allocations: 0.7602 MB / 1.214 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.2386, allocations: 12.62 kB / 1.214 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.362e-05/0.2387, allocations: 90.64 kB / 1.214 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.69e-05/0.2388, allocations: 52.28 kB / 1.214 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.24, allocations: 491.9 kB / 1.214 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.821e-05/0.24, allocations: 37.38 kB / 1.214 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.656e-05/0.2401, allocations: 44.38 kB / 1.214 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009758/0.241, allocations: 0.5025 MB / 1.215 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.2411, allocations: 3.938 kB / 1.215 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.879e-05/0.2411, allocations: 20 kB / 1.215 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.2411, allocations: 12 kB / 1.215 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.2423, allocations: 421.9 kB / 1.215 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001452/0.2438, allocations: 1.243 MB / 1.216 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009036/0.2447, allocations: 419.7 kB / 1.217 GB, free: 248 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005742/0.2453, allocations: 220.2 kB / 1.217 GB, free: 20 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.56e-05/0.2453, allocations: 8 kB / 1.217 GB, free: 12 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.2454, allocations: 38.56 kB / 1.217 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=41): time 1.613e-06/0.2454, allocations: 0 / 1.217 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of matching and sorting (n=41): time 0.001787/0.2472, allocations: 0.5755 MB / 1.218 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.2472, allocations: 114.8 kB / 1.218 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.2475, allocations: 282.7 kB / 1.218 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.2475, allocations: 29.7 kB / 1.218 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.2476, allocations: 224.2 kB / 1.218 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.324e-05/0.2477, allocations: 118.3 kB / 1.218 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.2479, allocations: 98 kB / 1.218 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.248, allocations: 342.8 kB / 1.219 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005421/0.2485, allocations: 164.7 kB / 1.219 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005687/0.2491, allocations: 253.7 kB / 1.219 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.2501, allocations: 388.5 kB / 1.219 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2502, allocations: 0 / 1.219 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001228/0.2514, allocations: 472.7 kB / 1.22 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.2514, allocations: 4 kB / 1.22 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.2514, allocations: 7.938 kB / 1.22 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.2514, allocations: 7.938 kB / 1.22 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004769/0.2519, allocations: 95.86 kB / 1.22 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.2519, allocations: 7.984 kB / 1.22 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003086/0.2523, allocations: 71.77 kB / 1.22 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.2523, allocations: 12 kB / 1.22 GB, free: 12.61 MB / 0.9825 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.0001872/0.2525, allocations: 173.7 kB / 1.22 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.999e-05/0.2526, allocations: 39.61 kB / 1.22 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.467e-05/0.2527, allocations: 42.14 kB / 1.22 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.2527, allocations: 11.94 kB / 1.22 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2527, allocations: 3.984 kB / 1.22 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2527, allocations: 0 / 1.22 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005416/0.2533, allocations: 461.1 kB / 1.221 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.2533, allocations: 0 / 1.221 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004148/0.2537, allocations: 87.84 kB / 1.221 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.2537, allocations: 4 kB / 1.221 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.2537, allocations: 8 kB / 1.221 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.2537, allocations: 7.938 kB / 1.221 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2537, allocations: 0 / 1.221 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.2549, allocations: 0.6614 MB / 1.222 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.854e-05/0.255, allocations: 116.6 kB / 1.222 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.845e-05/0.2551, allocations: 12 kB / 1.222 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003579/0.2554, allocations: 43.89 kB / 1.222 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.2556, allocations: 59.94 kB / 1.222 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/0.2556, allocations: 15.98 kB / 1.222 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001264/0.2557, allocations: 170 kB / 1.222 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2557, allocations: 0 / 1.222 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004064/0.2562, allocations: 91.59 kB / 1.222 GB, free: 10.53 MB / 0.9825 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.001498/0.2577, allocations: 1.234 MB / 1.223 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001172/0.2588, allocations: 426 kB / 1.224 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2589, allocations: 0 / 1.224 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006328/0.2595, allocations: 235.7 kB / 1.224 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005443/0.26, allocations: 52.86 kB / 1.224 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005096/0.2652, allocations: 3.477 MB / 1.227 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.2655, allocations: 0.8076 MB / 1.228 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002129/0.2657, allocations: 59.27 kB / 1.228 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002156/0.2659, allocations: 159.4 kB / 1.228 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.2659, allocations: 0 / 1.228 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03381/0.2998, allocations: 7 MB / 1.235 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.071/9.371, allocations: 6.062 kB / 1.235 GB, free: 13.11 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_Overrides.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches