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.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.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.001202/0.001202, 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.001167/0.001167, allocations: 190 kB / 16.13 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.181/1.181, allocations: 222.9 MB / 239.8 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.342/2.342, allocations: 461.8 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 74.14 kB / 0.8986 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2156, allocations: 157.4 MB / 1.052 GB, free: 8.176 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002151/0.2177, allocations: 1.203 MB / 1.053 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009972/0.2188, allocations: 1.006 MB / 1.054 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.4e-05/0.2189, allocations: 4 kB / 1.054 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.24e-05/0.2189, allocations: 15.84 kB / 1.054 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.2191, allocations: 11.88 kB / 1.054 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000191/0.2193, allocations: 79.88 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.2194, allocations: 208.2 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001931/0.2196, allocations: 128.1 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.2198, allocations: 79.64 kB / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.723e-05/0.2199, allocations: 83.55 kB / 1.055 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.329e-05/0.2199, allocations: 19.98 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.439e-05/0.2199, allocations: 12 kB / 1.055 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.787e-05/0.22, allocations: 55.7 kB / 1.055 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.075e-05/0.2201, allocations: 87.47 kB / 1.055 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.2203, allocations: 283.2 kB / 1.055 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.2203, allocations: 0 / 1.055 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.82e-07/0.2203, allocations: 0 / 1.055 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.2203, allocations: 0 / 1.055 GB, free: 4.902 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.0005955/0.2209, allocations: 495.2 kB / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.2209, allocations: 11.97 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.988e-05/0.221, allocations: 62.72 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.515e-05/0.221, allocations: 28.56 kB / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004048/0.2215, allocations: 272.3 kB / 1.056 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.2215, allocations: 16.81 kB / 1.056 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.2215, allocations: 28.31 kB / 1.056 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003471/0.2219, allocations: 199.8 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.2219, allocations: 3.938 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.2219, allocations: 12 kB / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.2219, allocations: 4 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003512/0.2223, allocations: 161.6 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006868/0.223, allocations: 0.5878 MB / 1.057 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003177/0.2233, allocations: 162.6 kB / 1.057 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.2234, allocations: 64.81 kB / 1.057 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.2235, allocations: 7.984 kB / 1.057 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/0.2235, allocations: 38.5 kB / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=17): time 1.233e-06/0.2235, allocations: 0 / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of matching and sorting (n=17): time 0.0005142/0.224, allocations: 222.4 kB / 1.058 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.2241, allocations: 51.41 kB / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.2242, allocations: 183.7 kB / 1.058 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.2242, allocations: 29.7 kB / 1.058 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.775e-05/0.2243, allocations: 140.2 kB / 1.058 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.437e-05/0.2243, allocations: 47.3 kB / 1.058 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.534e-05/0.2244, allocations: 53.69 kB / 1.058 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.61e-05/0.2245, allocations: 330.8 kB / 1.059 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.2246, allocations: 51.95 kB / 1.059 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.2248, allocations: 97.86 kB / 1.059 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/0.2251, allocations: 150.2 kB / 1.059 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2251, allocations: 0 / 1.059 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003713/0.2255, allocations: 199.3 kB / 1.059 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.2255, allocations: 7.938 kB / 1.059 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.2255, allocations: 3.984 kB / 1.059 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.2255, allocations: 4 kB / 1.059 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.2257, allocations: 27.98 kB / 1.059 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.2257, allocations: 0 / 1.059 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.2258, allocations: 35.98 kB / 1.059 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.2258, allocations: 4 kB / 1.059 GB, free: 0.9062 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.0001247/0.226, allocations: 145.7 kB / 1.059 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.538e-05/0.226, allocations: 15.81 kB / 1.059 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.381e-05/0.2261, allocations: 17.88 kB / 1.059 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.2261, allocations: 0 / 1.059 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2261, allocations: 0 / 1.059 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.2261, allocations: 0 / 1.059 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002366/0.2263, allocations: 281.4 kB / 1.06 GB, free: 408 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.2263, allocations: 4 kB / 1.06 GB, free: 404 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.2265, allocations: 23.91 kB / 1.06 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.2265, allocations: 4 kB / 1.06 GB, free: 376 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.2265, allocations: 4 kB / 1.06 GB, free: 372 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2265, allocations: 0 / 1.06 GB, free: 372 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2265, allocations: 0 / 1.06 GB, free: 372 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003503/0.2268, allocations: 263.2 kB / 1.06 GB, free: 92 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.752e-05/0.2269, allocations: 92.86 kB / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.2269, allocations: 4 kB / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.227, allocations: 15.92 kB / 1.06 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.26e-05/0.2271, allocations: 19.97 kB / 1.06 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.2271, allocations: 7.938 kB / 1.06 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.094e-05/0.2272, allocations: 124.2 kB / 1.06 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2272, allocations: 7.938 kB / 1.06 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002504/0.2275, allocations: 39.84 kB / 1.06 GB, free: 15.77 MB / 0.8262 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.0005845/0.2281, allocations: 0.8051 MB / 1.061 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003374/0.2284, allocations: 153.4 kB / 1.061 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.2284, allocations: 0 / 1.061 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.2286, allocations: 79.89 kB / 1.061 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.2289, allocations: 24.31 kB / 1.061 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002057/0.2309, allocations: 2.007 MB / 1.063 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.2312, allocations: 0.7322 MB / 1.064 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001014/0.2313, allocations: 25.52 kB / 1.064 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.247e-05/0.2314, allocations: 67.41 kB / 1.064 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2314, allocations: 4 kB / 1.064 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2772/0.5085, allocations: 2.971 MB / 1.067 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002274/0.5088, allocations: 266.9 kB / 1.067 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.489/1.998, allocations: 0 / 1.067 GB, free: 8.598 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