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.ActiveAirFlow.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.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow",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.001194/0.001194, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001162/0.001162, allocations: 194.5 kB / 16.26 MB, free: 6.621 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.177/1.177, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.316/2.316, allocations: 461.9 MB / 0.7344 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 65.48 kB / 0.8988 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2078, allocations: 157.4 MB / 1.052 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.00196/0.2097, allocations: 1.199 MB / 1.054 GB, free: 7.43 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008875/0.2106, allocations: 1.006 MB / 1.055 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.455e-05/0.2107, allocations: 4 kB / 1.055 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.941e-05/0.2108, allocations: 15.8 kB / 1.055 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.428e-05/0.2109, allocations: 15.86 kB / 1.055 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.2111, allocations: 71.94 kB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.2112, allocations: 228.1 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001864/0.2114, allocations: 136.1 kB / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.2116, allocations: 91.64 kB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.213e-05/0.2117, allocations: 95.53 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.161e-05/0.2117, allocations: 24 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.579e-05/0.2117, allocations: 24 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.767e-05/0.2118, allocations: 59.78 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.059e-05/0.2119, allocations: 107.4 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.2121, allocations: 295.2 kB / 1.056 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2121, allocations: 4 kB / 1.056 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2121, allocations: 0 / 1.056 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.2121, allocations: 0 / 1.056 GB, free: 5.262 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0005553/0.2127, allocations: 491.2 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.2127, allocations: 12.62 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.27e-05/0.2127, allocations: 54.73 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.2128, allocations: 28.56 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/0.2132, allocations: 272.3 kB / 1.057 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.2132, allocations: 16.81 kB / 1.057 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.2132, allocations: 24.31 kB / 1.057 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003359/0.2136, allocations: 199.8 kB / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2136, allocations: 7.922 kB / 1.057 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.2136, allocations: 12 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.2136, allocations: 4 kB / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003284/0.2139, allocations: 153.7 kB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006409/0.2146, allocations: 0.5995 MB / 1.058 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.2149, allocations: 162.5 kB / 1.058 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.215, allocations: 64.83 kB / 1.058 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.2151, allocations: 4 kB / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.2151, allocations: 42.48 kB / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=17): time 1.232e-06/0.2151, allocations: 0 / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of matching and sorting (n=17): time 0.000505/0.2156, allocations: 218.3 kB / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.2156, allocations: 51.41 kB / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.2158, allocations: 186.6 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.2158, allocations: 29.7 kB / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.231e-05/0.2158, allocations: 144.2 kB / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.2159, allocations: 47.3 kB / 1.058 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.806e-05/0.216, allocations: 49.7 kB / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.131e-05/0.216, allocations: 330.8 kB / 1.059 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.2162, allocations: 55.97 kB / 1.059 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.2163, allocations: 97.09 kB / 1.059 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002704/0.2166, allocations: 142.5 kB / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.2166, allocations: 0 / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003506/0.217, allocations: 198.5 kB / 1.059 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.217, allocations: 4 kB / 1.059 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.217, allocations: 4 kB / 1.059 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.217, allocations: 0 / 1.059 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.2172, allocations: 43.91 kB / 1.059 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.2172, allocations: 4 kB / 1.059 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.633e-05/0.2173, allocations: 23.98 kB / 1.059 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.2173, allocations: 8 kB / 1.059 GB, free: 1.273 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.y,actAirSet.warUpMod.y,actAirSet.setBacMod.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001086/0.2174, allocations: 147.7 kB / 1.06 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.2175, allocations: 15.81 kB / 1.06 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.273e-05/0.2175, allocations: 21.86 kB / 1.06 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.2175, allocations: 4 kB / 1.06 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.2175, allocations: 0 / 1.06 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2175, allocations: 0 / 1.06 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/0.2178, allocations: 285.4 kB / 1.06 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2178, allocations: 0 / 1.06 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.2179, allocations: 27.91 kB / 1.06 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2179, allocations: 0 / 1.06 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.2179, allocations: 0 / 1.06 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.2179, allocations: 4 kB / 1.06 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2179, allocations: 0 / 1.06 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003341/0.2183, allocations: 261.1 kB / 1.06 GB, free: 464 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.739e-05/0.2183, allocations: 96.84 kB / 1.06 GB, free: 348 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.2183, allocations: 4 kB / 1.06 GB, free: 344 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.2184, allocations: 15.92 kB / 1.06 GB, free: 328 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.2185, allocations: 15.98 kB / 1.06 GB, free: 312 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.2185, allocations: 4 kB / 1.06 GB, free: 308 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.975e-05/0.2186, allocations: 123.2 kB / 1.06 GB, free: 184 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2186, allocations: 7.938 kB / 1.06 GB, free: 176 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002358/0.2188, allocations: 43.83 kB / 1.06 GB, free: 132 kB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0005734/0.2194, allocations: 0.8033 MB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003511/0.2198, allocations: 163.7 kB / 1.061 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.2198, allocations: 0 / 1.061 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.2199, allocations: 77.77 kB / 1.061 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.2202, allocations: 24.3 kB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.2222, allocations: 2.007 MB / 1.063 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.2224, allocations: 0.7397 MB / 1.064 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.967e-05/0.2225, allocations: 21.55 kB / 1.064 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.567e-05/0.2226, allocations: 67.41 kB / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of SimCode: time 1.443e-06/0.2226, allocations: 4 kB / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.594/5.816, allocations: 3.06 MB / 1.067 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003917/5.817, allocations: 272.7 kB / 1.067 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/7.466, allocations: 2.75 kB / 1.067 GB, free: 8.879 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches