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.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.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.0008406/0.0008406, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00502/0.00502, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.198/1.198, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.358/2.358, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002906/0.0002907, allocations: 18.91 kB / 0.9029 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2228, allocations: 159.6 MB / 1.059 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides): time 0.001728/0.2245, allocations: 1.406 MB / 1.06 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.2256, allocations: 1.139 MB / 1.061 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.2257, allocations: 12 kB / 1.061 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.047e-05/0.2258, allocations: 27.66 kB / 1.061 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.2259, allocations: 31.66 kB / 1.061 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.2262, allocations: 163.9 kB / 1.062 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003378/0.2265, allocations: 469 kB / 1.062 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003291/0.2269, allocations: 264.7 kB / 1.062 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.227, allocations: 135.3 kB / 1.062 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.2272, allocations: 171 kB / 1.063 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.552e-05/0.2272, allocations: 12 kB / 1.063 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.142e-05/0.2272, allocations: 16 kB / 1.063 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.955e-05/0.2273, allocations: 75.61 kB / 1.063 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.2274, allocations: 204.3 kB / 1.063 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004101/0.2279, allocations: 0.6228 MB / 1.063 GB, free: 100 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2279, allocations: 4 kB / 1.063 GB, free: 96 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.183e-06/0.2279, allocations: 3.938 kB / 1.063 GB, free: 92 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.2279, allocations: 0 / 1.063 GB, free: 92 kB / 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.001055/0.2289, allocations: 0.698 MB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.229, allocations: 15.97 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.673e-05/0.2291, allocations: 86.7 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.044e-05/0.2291, allocations: 56.28 kB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.2302, allocations: 0.5233 MB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.236e-05/0.2303, allocations: 37.38 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.456e-05/0.2303, allocations: 44.38 kB / 1.065 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009642/0.2313, allocations: 0.526 MB / 1.065 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.2313, allocations: 3.938 kB / 1.065 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.728e-05/0.2314, allocations: 16 kB / 1.065 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.2314, allocations: 19.92 kB / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/0.2326, allocations: 473.9 kB / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/0.234, allocations: 1.251 MB / 1.067 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008766/0.2349, allocations: 443.7 kB / 1.068 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005837/0.2354, allocations: 250.4 kB / 1.068 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.277e-05/0.2355, allocations: 11.98 kB / 1.068 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.2355, allocations: 34.56 kB / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=41): time 1.533e-06/0.2355, allocations: 0 / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=41): time 0.001772/0.2373, allocations: 0.6551 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.2374, allocations: 110.8 kB / 1.069 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.2376, allocations: 278.7 kB / 1.069 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.2376, allocations: 37.7 kB / 1.069 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.2377, allocations: 216.2 kB / 1.069 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.838e-05/0.2378, allocations: 118.4 kB / 1.069 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.804e-05/0.2379, allocations: 65.69 kB / 1.069 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.238, allocations: 342.8 kB / 1.07 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005321/0.2385, allocations: 184.7 kB / 1.07 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005737/0.2391, allocations: 281.8 kB / 1.07 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.2402, allocations: 451.8 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2402, allocations: 0 / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001214/0.2414, allocations: 0.497 MB / 1.071 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.2414, allocations: 17.42 kB / 1.071 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2414, allocations: 0 / 1.071 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.2415, allocations: 7.938 kB / 1.071 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004486/0.2419, allocations: 111.8 kB / 1.071 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.2419, allocations: 8 kB / 1.071 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003009/0.2422, allocations: 75.58 kB / 1.071 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.2423, allocations: 19.98 kB / 1.071 GB, free: 7.84 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.0001761/0.2425, allocations: 185.6 kB / 1.071 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.439e-05/0.2425, allocations: 31.62 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.659e-05/0.2426, allocations: 38.2 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.2426, allocations: 11.94 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2426, allocations: 0 / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.2427, allocations: 3.984 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004989/0.2432, allocations: 461 kB / 1.072 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.2432, allocations: 4 kB / 1.072 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003927/0.2436, allocations: 91.86 kB / 1.072 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.2436, allocations: 4 kB / 1.072 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.2436, allocations: 15.98 kB / 1.072 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.2436, allocations: 7.938 kB / 1.072 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2436, allocations: 4 kB / 1.072 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.2448, allocations: 0.708 MB / 1.073 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.413e-05/0.2449, allocations: 112.6 kB / 1.073 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.242e-05/0.2449, allocations: 4 kB / 1.073 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003558/0.2453, allocations: 59.88 kB / 1.073 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.2454, allocations: 59.92 kB / 1.073 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.2454, allocations: 8 kB / 1.073 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001237/0.2456, allocations: 182 kB / 1.073 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2456, allocations: 0 / 1.073 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003813/0.246, allocations: 91.59 kB / 1.073 GB, free: 5.688 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.001457/0.2474, allocations: 1.282 MB / 1.074 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001156/0.2486, allocations: 455.8 kB / 1.075 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2486, allocations: 0 / 1.075 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006187/0.2492, allocations: 273.2 kB / 1.075 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005017/0.2497, allocations: 48.81 kB / 1.075 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005065/0.2548, allocations: 3.766 MB / 1.079 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.2551, allocations: 0.8079 MB / 1.08 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000233/0.2554, allocations: 63.25 kB / 1.08 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/0.2556, allocations: 151.4 kB / 1.08 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of SimCode: time 2.91e-07/0.2556, allocations: 0 / 1.08 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4646/0.7202, allocations: 6.214 MB / 1.086 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/0.7204, allocations: 284.9 kB / 1.086 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.61/2.33, allocations: 0 / 1.086 GB, free: 8.324 MB / 0.8419 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