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.001202/0.001202, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.21/1.21, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.414/2.414, allocations: 461.9 MB / 0.7346 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 66.16 kB / 0.8993 GB, free: 36.92 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2177, allocations: 157.4 MB / 1.053 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.Overrides): time 0.002692/0.2205, allocations: 1.77 MB / 1.055 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.2216, allocations: 1.162 MB / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.2217, allocations: 8 kB / 1.056 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.015e-05/0.2218, allocations: 51.33 kB / 1.056 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.2219, allocations: 55.34 kB / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/0.2222, allocations: 183.7 kB / 1.056 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003503/0.2226, allocations: 0.5048 MB / 1.057 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003424/0.2229, allocations: 280.7 kB / 1.057 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.2231, allocations: 203.2 kB / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.2233, allocations: 234.9 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.38e-05/0.2234, allocations: 59.94 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.641e-05/0.2234, allocations: 60 kB / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.028e-05/0.2235, allocations: 119.7 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.2237, allocations: 250.6 kB / 1.058 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000436/0.2241, allocations: 0.6698 MB / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2241, allocations: 0 / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2241, allocations: 0 / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.2242, allocations: 0 / 1.058 GB, free: 2.656 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.001078/0.2252, allocations: 0.7525 MB / 1.059 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.2253, allocations: 8.625 kB / 1.059 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.942e-05/0.2254, allocations: 90.7 kB / 1.059 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.093e-05/0.2254, allocations: 52.28 kB / 1.059 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.2265, allocations: 491.9 kB / 1.06 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.286e-05/0.2265, allocations: 37.38 kB / 1.06 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.732e-05/0.2266, allocations: 48.38 kB / 1.06 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008971/0.2275, allocations: 0.4986 MB / 1.06 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.2275, allocations: 3.938 kB / 1.06 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.394e-05/0.2275, allocations: 16 kB / 1.06 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.2275, allocations: 12 kB / 1.06 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.2286, allocations: 429.9 kB / 1.061 GB, free: 128 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.23, allocations: 1.259 MB / 1.062 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000835/0.2309, allocations: 415.7 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000549/0.2314, allocations: 226.4 kB / 1.063 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.543e-05/0.2315, allocations: 11.98 kB / 1.063 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.2315, allocations: 34.56 kB / 1.063 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=41): time 1.433e-06/0.2315, allocations: 0 / 1.063 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=41): time 0.001636/0.2331, allocations: 0.573 MB / 1.063 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.2332, allocations: 110.8 kB / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/0.2334, allocations: 282.7 kB / 1.064 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.2334, allocations: 37.7 kB / 1.064 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.2335, allocations: 212.2 kB / 1.064 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.776e-05/0.2336, allocations: 118.3 kB / 1.064 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.2337, allocations: 98.11 kB / 1.064 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.335e-05/0.2338, allocations: 342.8 kB / 1.064 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005036/0.2344, allocations: 164.7 kB / 1.065 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005309/0.2349, allocations: 253.8 kB / 1.065 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009873/0.2359, allocations: 402.3 kB / 1.065 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2359, allocations: 0 / 1.065 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001119/0.237, allocations: 467 kB / 1.066 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.237, allocations: 8 kB / 1.066 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2371, allocations: 3.984 kB / 1.066 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.2371, allocations: 11.94 kB / 1.066 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004247/0.2375, allocations: 91.8 kB / 1.066 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.2375, allocations: 4.25 kB / 1.066 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002802/0.2378, allocations: 75.48 kB / 1.066 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.2378, allocations: 19.98 kB / 1.066 GB, free: 10.73 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.0001616/0.238, allocations: 175.2 kB / 1.066 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.522e-05/0.2381, allocations: 31.62 kB / 1.066 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.188e-05/0.2382, allocations: 42.2 kB / 1.066 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2382, allocations: 11.88 kB / 1.066 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2382, allocations: 0 / 1.066 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.2382, allocations: 7.984 kB / 1.066 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004905/0.2387, allocations: 457.1 kB / 1.066 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2387, allocations: 0 / 1.066 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000386/0.2391, allocations: 83.86 kB / 1.067 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.2391, allocations: 4 kB / 1.067 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.2391, allocations: 12 kB / 1.067 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.2391, allocations: 7.922 kB / 1.067 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2392, allocations: 0 / 1.067 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.2403, allocations: 0.6573 MB / 1.067 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.996e-05/0.2404, allocations: 108.6 kB / 1.067 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.812e-05/0.2404, allocations: 12 kB / 1.067 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003447/0.2408, allocations: 43.88 kB / 1.067 GB, free: 9 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.2409, allocations: 59.94 kB / 1.067 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.2409, allocations: 11.94 kB / 1.067 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001236/0.241, allocations: 182 kB / 1.068 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.241, allocations: 0 / 1.068 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003778/0.2414, allocations: 91.59 kB / 1.068 GB, free: 8.668 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.00137/0.2428, allocations: 1.236 MB / 1.069 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001134/0.2439, allocations: 431.7 kB / 1.069 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.244, allocations: 0 / 1.069 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005888/0.2445, allocations: 241.4 kB / 1.07 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004865/0.245, allocations: 52.88 kB / 1.07 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004669/0.2497, allocations: 3.476 MB / 1.073 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.25, allocations: 0.8154 MB / 1.074 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002334/0.2503, allocations: 67.19 kB / 1.074 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.2505, allocations: 159.4 kB / 1.074 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.2505, allocations: 0 / 1.074 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.088/1.339, allocations: 6.924 MB / 1.081 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.509/9.848, allocations: 12.06 kB / 1.081 GB, free: 11.28 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